Node. js installation method steps in different platforms

Source: Internet
Author: User
Tags install node

  node. JS Development Platform built under MAC platform

  installation Method 1 steps:

Download the Mac version of the . Pkg file (just as simple as Windows )

  installation Method 2 steps:

Install xcode(command:xcode-select--install)

installation Python

installation Homebrew(need to install Rubyfirst)

installation command:

  Ruby–e "$ (curl–fssl

  Https://raw.githubusercontent.com/Homebrew/install/master/install) "

install the node. js command:Brew Install node.

  Build node . JS development environment under Linux Platform

  Installation steps:

  A) before installing node. js , if g++ and Libssl-devare not installed, Install first, the installation method is as follows:

  $ sudo apt–get install g++

  $sudo Apt–get Install Libssl-dev

  b) Obtain the compressed source code:

  $ wget

  Https://nodejs.org/dist/v4.2.3/node-v4.2.3.tar.gz

  c) decompression Source:$ tar zxvf nodejs-v4.2.3.tar.gz

  d) configuration:$./configure

  e) compile:$make

  f) installation:$sudo make install

 in the Installing node. js under Windows Platform

This is very simple, first we have to enter its official website, download node. js.

its website website is:http://nodejs.org.

  1. when you go to the homepage, it will default to your operating system, providing you with a download version that your operating system is currently adapting to.

because I am here is the Windows ten-bit operating system, so the default on the homepage gives me to adapt to my operating system version, download link is these two:

  What's the difference between these two?

  The beginning of a few 4 points and a few 5 points. at the beginning of 4 pips it is a relatively stable version that supports long-term maintenance. the 5 -point version is the latest version. It contains a number of new features and functions.

  2. Click on the downloadabove:

In this case, the above version of all platforms can be downloaded.

  3. to download it, you should download one of these two types:

How do these two distinguish

The first, installable version, its suffix name is . msi,exe is binary binary version (is executable) currently download the installation version, If you download it here , just click to download it.

  4. We downloaded this version is very simple, we directly click Next, step by step operation.

original link:http://www.maiziedu.com/wiki/nodejs/install/

Node. js installation method steps in different platforms

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.