1. Download the Windows binary version of the node. js file
2. Unzip the downloaded zip archive into a directory (for example: D:\nodejs)
3. Node. js at this point only works in the directory you just unzipped, and you need to configure environment variables to play a global role.
1. Right-click on this computer (My Computer)-Properties-Advanced system settings
2. In the pop-up window, click on the "Environment variables" button in the bottom right corner.
3. Next, configure the specific environment variables in the system environment variables, it is recommended to add in the system variables, do not add in the user variable.
Node_home=d:\nodejs
Node_path=%node_home%\node_modules
Path Increase%node_home%\
4. After the configuration is complete, restart the computer. Remember to restart the computer Oh, after the restart is complete, you can test the configuration in any directory is successful.
Windows platform installs the node. JS Green Version