Installing node. js and NPM

Source: Internet
Author: User
Tags install node
Install node. js

Currently, the latest version of node. JS is 7.6.x. First of all, download the corresponding platform from the node. JS website installation program, the slow speed of children's shoes please step into the domestic mirror.

Be sure to select all components when installing on Windows, including tick Add to Path .

After the installation is complete, in the Windows environment, open a command prompt, and then enter node -v , if the installation is OK, you should see v7.6.0 such output:

Continue at the command prompt node and you will enter node. JS's interactive environment at the moment. In an interactive environment, you can enter any JavaScript statement, for example 100+200 , a carriage return will result in the output.

To exit the node. JS environment, double-click CTRL + C two times.

Since the new version of Nodejs (greater than v7.6.0) has been integrated with NPM, NPM has been installed as well. You can also test for a successful installation by entering "Npm-v" . The following command appears and the version prompt indicates that the installation was successful:

Installing node. js and NPM

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.