使用淘宝镜像源加速 NPM
最新的
npm config set registry https://registry.npmmirror.com
之前的
npm config set registry https://registry.npm.taobao.org
使用腾讯云镜像源加速 NPM
npm config set registry http://mirrors.cloud.tencent.com/npm/
使用华为云 镜像源加速 NPM
npm config set registry https://mirrors.huaweicloud.com/repository/npm/
npm 官方原始镜像
npm config set registry https://registry.npmjs.org/
查看当前的镜像源
npm config get registry
标签:npm,set,registry,https,镜像,config,下载 From: https://www.cnblogs.com/cx850116/p/18150743