设置淘宝镜像
设置淘宝镜像命令
·
设置淘宝镜像命令:npm config set registry https://registry.npm.taobao.org
查看当前镜像地址命令:npm config get registry
成功显示了所设置的地址,代表成功更换镜像地址,国内常用的镜像地址:
npm -------- https://registry.npmjs.org/
yarn ------- https://registry.yarnpkg.com/
cnpm ------- http://r.cnpmjs.org/
taobao ----- https://registry.npm.taobao.org/
nj --------- https://registry.nodejitsu.com/
npmMirror -- https://skimdb.npmjs.com/registry/
更多推荐
已为社区贡献3条内容
所有评论(0)