Windows
安装 nvm-windows
- https://github.com/coreybutler/nvm-windows/wiki#manual-installation
- 下载 nvm-noinstall.zip 包
下载地址:https://github.com/coreybutler/nvm-windows/releases - 将压缩包内的文件复制到
C:\Users\<username>\AppData\Roaming\nvm
中 - 创建
settings.txt
配置文件
参考:https://github.com/coreybutler/nvm-windows/blob/master/examples/settings.txt
root: C:\Users\<username>\AppData\Roaming\nvm
path: C:\Program Files\nodejs
arch: 64
proxy: none
- 添加环境变量
NVM_HOME: C:\Users\<username>\AppData\Roaming\nvm
NVM_SYMLINK: C:\Program Files\nodejs
path: %NVM_HOME%;%NVM_SYMLINK%;