nvm镜像源配置
nvm下载地址阿里云
nvm npm_mirror https://npmmirror.com/mirrors/npm/ nvm node_mirror https://npmmirror.com/mirrors/node/
腾讯云
nvm npm_mirror http://mirrors.cloud.tencent.com/npm/ nvm node_mirror http://mirrors.cloud.tencent.com/nodejs-release/
npm镜像源配置
//查看当前的镜像源 npm get registry //设置淘宝镜像源 npm config set registry http://registry.npmmirror.org //切换回官方镜像源 npm config set registry http://www.npmjs.org //安装镜像源管理工具 npm install -g nrm //查看当前可用镜像源 nrm ls //切换到指定镜像源 nrm use cnpm标签:npm,http,mirrors,mirror,镜像,nvm From: https://www.cnblogs.com/Phil-Long/p/17750816.html