2020-11-05 工具 工具 npm, yarn查看源和换源:1234567npm config get registry // 查看npm当前镜像源npm config set registry https://registry.npm.taobao.org/ // 设置npm镜像源为淘宝镜像yarn config get registry // 查看yarn当前镜像源yarn config set registry https://registry.npm.taobao.org/ // 设置yarn镜像源为淘宝镜像 镜像源地址部分如下:12345678910111213npm --- https://registry.npmjs.org/cnpm --- https://r.cnpmjs.org/taobao --- https://registry.npm.taobao.org/nj --- https://registry.nodejitsu.com/rednpm --- https://registry.mirror.cqupt.edu.cn/npmMirror --- https://skimdb.npmjs.com/registry/deunpm --- http://registry.enpmjs.org/ 作者: w晚风 文章链接: http://zhou.wp.xiat123.cn/2020/11/05/instrument/202011/06/ 版权声明: 本网站所有文章除特别声明外,均采用 CC BY-NC-ND 4.0 许可协议。转载请注明出处! 上一篇: linux释放占用端口 下一篇: pm2常用命令 本文目录 本文目录