使用cnpm 淘宝镜像
2020-07-25 本文已影响0人
辣子_
npm install -g cnpm --registry=https://registry.npm.taobao.org
//安装完以后查看版本号
cnpm -v
//mac 安装
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org
也可以使用npm命令使用淘宝的镜像,具体方法见:
https://www.cnblogs.com/onew/p/11330439.html