赞
踩
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
到此 Npm 切换淘宝镜像源介绍完成。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。