跳转到主要内容

Windows

安装 nvm-windows

  • https://github.com/coreybutler/nvm-windows/wiki#manual-installation
  1. 下载 nvm-noinstall.zip 包
    下载地址:https://github.com/coreybutler/nvm-windows/releases
  2. 将压缩包内的文件复制到 C:\Users\<username>\AppData\Roaming\nvm
  3. 创建 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
  1. 添加环境变量
NVM_HOME:  C:\Users\<username>\AppData\Roaming\nvm  
NVM_SYMLINK: C:\Program Files\nodejs  
path: %NVM_HOME%;%NVM_SYMLINK%;