码迷,mamicode.com
首页 > 其他好文 > 详细

npm切换淘宝镜像源

时间:2019-12-21 20:52:35      阅读:401      评论:0      收藏:0      [点我收藏+]

标签:net   info   tail   http   全局   org   reg   检测   gis   

npm 切换到淘宝源
地址
默认的npm下载地址:http://www.npmjs.org/
淘宝npm镜像的地址:https://npm.taobao.org/

临时使用淘宝源
npm --registry https://registry.npm.taobao.org install node-red-contrib-composer@latest

全局配置切换到淘宝源
npm config set registry https://registry.npm.taobao.org

全局配置切换到官方源
npm config set registry http://www.npmjs.org

检测是否切换到了淘宝源
npm info underscore


原文链接:https://blog.csdn.net/luohongtuCSDN/article/details/88016046

npm切换淘宝镜像源

标签:net   info   tail   http   全局   org   reg   检测   gis   

原文地址:https://www.cnblogs.com/sylys/p/12077855.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!