一、npm淘宝镜像源设置
1.设置
npm config set registry https://registry.npm.taobao.org/
2.还原
npm config set registry https://registry.npmjs.org/
二、cnpm的安装
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org --verbose
1.设置
npm config set registry https://registry.npm.taobao.org/
2.还原
npm config set registry https://registry.npmjs.org/
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org --verbose
本文标题:npm淘宝镜像设置以及cnpm的安装
本文链接:https://www.haomeiwen.com/subject/qelzoktx.html
网友评论