npm换源

npm - Node Package Manager

npm 淘宝源

持久更换

$ npm config set registry https://registry.npm.taobao.org

临时更换并安装程序

$ npm --registry https://registry.npm.taobao.org install express
comments powered by Disqus