1. Download
https://github.com/coreybutler/nvm-windows/releases
Download the zip package directly
and install it
2. Installation
Note: Try to install according to the default path
, otherwise there may be problems when
the nvm installation is completed and you download and use node later
3. Installation complete detection
Open the cmd command
and enter
nvm -v
If the version number appears
, the installation is successful
4. Add Taobao mirror source in settings to speed up the download speed
node_mirror: https://npm.taobao.org/mirrors/node/
npm_mirror: https://npm.taobao.org/mirrors/npm/
5. Install and use node
nvm install node版本号
nvm use node版本号
6. Commonly used nvm commands
nvm -v //版本号
nvm ls //可用node版本
nvm install // 版本号 ,安装
nvm uninstall // 版本号,卸载