node. js installation and use steps-windows

Source: Internet
Author: User

Ps:

    1. nodejs:https://nodejs.org
    2. npm:https://www.npmjs.com/

I. node. JS Installation and Configuration

    1. Download to https://nodejs.org/en/download/, x64 and x86
    2. After installation, configure PATH (F:\Program files (x86) \nodejs;) and Node_path (F:\Program files (x86) \nodejs\node_modules;)

Second, install NVM, version switch management tool

1, System creation put NVM code: (c:\git)

Open cmd or NODEJS command input, as follows:

$ C:
$ cd git
$ git clone https://github.com/hakobera/nvmw.git

2, in the environment configuration, configuration, directly in the following PATH to add---->path=e:\nodejs\nvm_git\nvmw\;%path%

3, then, in the command input $NVM will output NVM LS,NVM help .... The data is successful.

Third, install NPM

Because of the historical reasons for Nodejs's initial Linux development, NPM did not initially support the Windows environment, but as Nodejs successfully ported to the Windows platform, NPM's requirements for windows were growing.

1, to git download NPM source code

git clone--recursive git://github.com/isaacs/npm.git
CD NPM
Node Cli.js install NPM-GF

2, configuration, command input NPM, will be a bunch of data on behalf of the successful installation.

Iv. installing node. js

    1. Windows double-click Install to
    2. After installation, command input node-v, print node-v.

node. js installation and use steps-windows

Related Article

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.