下载链接:https://github.com/coreybutler/nvm-windows/releases
安装node指定版本
nvm install 版本号
列出所有node版本
nvm ls
切换node版本
nvm use 版本号
安装完毕后,打开powershell,执行下面命令,否则vs code无法使用npm命令
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
下载链接:https://github.com/coreybutler/nvm-windows/releases
nvm install 版本号
nvm ls
nvm use 版本号
安装完毕后,打开powershell,执行下面命令,否则vs code无法使用npm命令
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned