Install Nodejs under Windows

Source: Internet
Author: User

Just to speak, Windows system under simple NODEJS environment configuration.

First step: Download the installation file

: Official website http://www.nodejs.org/download/

It's used here.

Step Two: Install Nodejs

After the download is complete, double-click Node-v0.8.16-x86.msi to start installing Nodejs, which is installed by default under C:\Program Files\nodejs

Step Three: Install the relevant environment

Open the C:\Program Files\nodejs directory you'll find it comes with NPM, which is installed directly with NPM

Entering the node. js Command Prompt Commands window

Enter the Nodejs installation directory C:\Program Files\nodejs

Type the command: CD C:\Program Files\nodejs can be

3. Set the environment variable (I added in the user variable), such as: PATH                C:\Program files\nodejsnode_path    C:\Program files\nodejs\node_modules

If you do not install the Nodejs in the default path, run NPM directly, because it is not the default installation path, you need to create a file named NPM in the path of error, do not bring the suffix name oh. The error path is: C:\Users\ "Your user name" \appdata\roaming\ this path to build a NPM file can use the NPM command!

Install Nodejs under Windows

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.