nvm 安装 nodejs 报错 Could not retrieve https://nodejs.org/dist/latest/SHASUMS256.txt.

1.打开 nvm安装目录/settings.text文件
2.添加两行
node_mirror:npm.taobao.org/mirrors/node/
npm_mirror:npm.taobao.org/mirrors/npm/

nvm 安装 nodejs 报错 Could not retrieve https://nodejs.org/dist/latest/SHASUMS256.txt._第1张图片

3.然后继续安装
nvm 安装指定版本nodejs命令
nvm install xx.xx.xx
eg: nvm install 6.16.0

你可能感兴趣的:(nvm 安装 nodejs 报错 Could not retrieve https://nodejs.org/dist/latest/SHASUMS256.txt.)