方法一:
安装 cnpm ===> npm install -g cnpm --registry=https://registry.npm.taobao.org
检测方法:
cnpm -v
方法二:
安装 npm ===> npm config set registry https://registry.npm.taobao.org
检测方法:
npm config get registry
标签:npm,cnpm,org,taobao,registry,https,淘宝,镜像
来源: https://www.cnblogs.com/ccad/p/16414757.html