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
downloaded installation package
2. Click to install!
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.
The directory after the installation is complete
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.