Windows10--Node.js installation and environment configuration

1.'Node.js download and install

Open the official website link Node.js official website installation , download the version that matches your computer. Here is an example: the
Insert picture description heredownloaded installation package
Insert picture description here

2. Click to install!

Insert picture description hereInsert picture description hereInsert picture description hereInsert picture description hereInsert picture description hereInsert picture description hereInsert picture description here
The installation is successful, click Finish!!!.

3. Verify installation and configuration

At this point, Node.js has been installed, you can first perform a simple test to see if the installation is successful, and then configure the environment.
Press the [win+R] key on the keyboard, enter cmd, then press Enter, open the cmd window, and enter it Content, if the installation is successful, it will be as shown in the figure below.
Insert picture description here
The directory after the installation is complete
Insert picture description here

Here is an explanation: the new version of Node.js has its own npm, and it will be installed when you install Node.js. The role of npm is to manage the packages that Node.js depends on, and it can also be understood as used to install/uninstall Node.js Things that need to be installed.

Guess you like

Origin blog.csdn.net/JISOOLUO/article/details/103855385