Home  >  Article  >  Web Front-end  >  Detailed installation of the new version of node.js_v6

Detailed installation of the new version of node.js_v6

一个新手
一个新手Original
2017-09-06 11:26:191461browse

Detailed installation instructions for the new version of node.js_v6

1. Introduction to Node.js

Simply put, Node.js is JavaScript running on the server. Node.js is a JavaScript runtime environment based on the Chrome V8 engine. Node.js uses an event-driven, non-blocking I/O model, making it lightweight and efficient. Node.js's package manager npm is the world's largest open source library ecosystem.

2. Download Node.js

Open the official website download link: https://nodejs.org/en/download/ Download the Node.js version corresponding to your system. What I downloaded here is node-v6.11.2-x64.msi, as shown below:

#3. After the download is completed, double-click "node-v6.11.2-x64. msi" to start installing Node.js

##Click the [Next] button

Check the checkbox and click the [Next] button

Click the [Next] button

After installation, click the [Finish] button to complete the installation

At this point, Node.js has been installed. You can first simply test whether the installation is successful, and then configure the environment.

Press the [win+R] keys on the keyboard, enter cmd, and then press Enter. Open the cmd window

The directory after installation is as shown below:

The new version of Node.js has its own npm, which will be installed together when installing Node.js. The role of npm is to manage the packages that Node.js depends on. It can also be understood as what needs to be installed to install/uninstall Node.js. thing

The above is the detailed content of Detailed installation of the new version of node.js_v6. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn