Steps to install Node.js under Windows System Picture and text detailed _node.js

Source: Internet
Author: User
Tags install node ruby on rails

Objective

With recent PayPal and Netflix announcements migrating to Node.js, the server-side JavaScript platform has proven its own value in the Enterprise domain. This is a small step for node, but a big leap for JavaScript! Programmers from. NET, Java, PHP, Ruby on rails, and more technology, all of the coders on the server side converge on this platform. As big players like Yahoo, Walmart, and Oracle, Node is losing its reputation for being immature and unstable. In this article, I'll show you how easy it is to install node.js in the window environment.

1. Visit the official website of Node.js

Node.js Official website address: https://nodejs.org/en/. The following figure:

Node.js Official offers two versions: one is a long-term support version, one is the latest version. It is recommended that you download a long-term support version, because this version is more stable. The following figure:

Select a long term support version (click on the button above) to download the MAC system installation package. The following figure:

2. Installation of Node.js Environment

Double-click the Node.js installation file to enter the Node.js installation interface. The following figure:

Click on the "Next" button in the lower-right corner to continue installing the node.js environment. The following figure:

As shown in the above illustration, the Node.js official "software license Agreement" is displayed.

Check the option "I accept the terms in the License agreement" to agree to the contents of the Node.js Software license agreement. The following figure:

Click on the "Next" button to continue installing the node.js environment. The following figure:

As shown in the figure above, customizing the installation path for the Node.js environment is generally recommended using the default path.

If you customize the installation path, you should be aware that the path can not contain Chinese or white space, may cause garbled problems.

Click on the "Next" button to continue installing the node.js environment. The following figure:

As shown in the figure above, customize the components that install the node.js environment. It is generally recommended that all components be installed, that is, the default installation.

Click on the "Next" button to continue installing the node.js environment. The following figure:

As shown in the figure above, ask if you want to confirm the installation of the Node.js environment. (This step is primarily to confirm previous settings)

Click the "Install" button to start automatically installing the Node.js environment. The following figure:

Wait for the Node.js environment to install automatically, as shown in the following figure:

As shown above, click the Finish button to end the installation of the Node.js environment.

3. Verify Node.js is installed successfully

Run the command line program under Windows system, as shown in the following figure:

Enter the following command in the terminal program to verify that the Node.js environment is successfully installed.

Node-v

If the following illustration appears in the command line program, it indicates that the Node.js environment was successfully installed. The following figure:

What you need to note is that the node -v command represents a view of the version of the current node.js environment.

4. Verify that the NPM Package Manager is available

Run the command line program under Windows system, as shown in the following figure:

In the command line program, enter the following command to verify that the NPM Package Manager is available.

Npm-v

If the following illustration appears in the command line program, the NPM Package Manager is available. The following figure:

What you need to note is that the npm -v command represents a view of the current NPM Package Manager version.

Summarize

The above is the entire content of this article, I hope the content of this article for everyone to learn or work can bring some help, if you have questions you can message exchange.

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.