Go to http://nodejs.org/javasdownloadto download the msifile. Always click Next to install. The final file is automatically installed in the c: \ Program Files \ nodejs directory.
After the installation is complete, environment variables are automatically configured. If no automatic configuration is available, manually add c: \ Program Files \ nodejs \ in the path \.
After the installation is complete, you need to configure NPM to manage the node. js module.
Install git to install NPM in window.
Check the installation method on your own. A lot.
After installation, open gitbush. Input:
Git config -- System HTTP. sslcainfo/bin/curl-ca-bundle.crt
Git clone -- Recursive git: // github.com/isaacs/npm.git
CD NPM
Node cli. js install NPM-GF
The first one is that there will be no prompts for the settings, the second will go to GitHub to download NPM will have the download file and progress, and the fourth is to install NPM to node. JS will copy several CMD files and the mode_modules folder to the nodejs directory.
In this way, NPM is configured.
If you need to install any modules, enter NPM install ***.