node学习(二)安装使用淘宝镜像

1.方式一

cmd使用命令

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

查看是否设置镜像成功

npm config get registry

成功,

2.方式二

npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install experss

3.方式三

使用nrm,请参考我的下一片文章

node学习(三)nrm

猜你喜欢

转载自blog.csdn.net/qq_34874784/article/details/85525705
今日推荐