1. 到 github 下载 nvm-setup.zip 并安装。
Releases · coreybutler/nvm-windows (github.com)
2. 安装一个版本的 nodejs。
$ nvm install 14.0.0
3. 查看和切换版本。
4. 安装其它全局工具,比如 yarn。
$ npm install -g yarn
Refer:https://github.com/coreybutler/nvm-windows
1. 到 github 下载 nvm-setup.zip 并安装。
Releases · coreybutler/nvm-windows (github.com)
2. 安装一个版本的 nodejs。
$ nvm install 14.0.0
3. 查看和切换版本。
4. 安装其它全局工具,比如 yarn。
$ npm install -g yarn
Refer:https://github.com/coreybutler/nvm-windows