Linux修改npm的镜像源为淘宝镜像
起因:使用官方镜像源下载软件包速度太慢
1.查看npm当前镜像源命令
npm get registry
执行结果
2.还原为官方镜像源命令
npm config set registry https://registry.npmjs.org/
3.修改为淘宝镜像命令
npm config set registry https://registry.npmmirror.com
执行结果
原文地址:https://blog.csdn.net/qq_53376718/article/details/143082312
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!