npm切换淘宝镜像源


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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM