1, download NVM package, Address: https://github.com/coreybutler/nvm-windows/releases select Nvm-noinstall.zip Download,
This file extracted to the specified folder, my side decompression to D:\NVM, after decompression should have 5 files, as follows:
2, double-click Install.cmd, press ENTER, in the D packing directory to generate a setting.txt file, move it to D:\NVM, modify the content inside:
Root:d:\nvm
Path:d:\nodejs
Arch:64
Proxy:none
node_mirror:http://npm.taobao.org/mirrors/node/
npm_mirror:https://npm.taobao.org/mirrors/npm/
3. Configure Environment variables
Variable name: Nvm_home value: D:\NVM
Variable name: Nvm_symlink value: D:\nodejs
Add in the variable path:%nvm_home%;%nvm_symlink%;
4, in the Command Line window Input command: NVM V, you will see the current NVM version information, that is, the installation is successful, then you can install NPM and node. js.
Install NVM under Windows