首页 前端知识 npm修改镜像源的方法

npm修改镜像源的方法

2024-08-04 22:08:56 前端知识 前端哥 889 654 我要收藏

查看当前的镜像地址

npm get registry
复制

修改为淘宝镜像

npm config set registry https://registry.npmmirror.com 切换为国内淘宝镜像
复制

使用npm原地址

npm config set registry https://registry.npmjs.org/
复制

npm镜像源 http://www.npmmirror.com/

tp://www.npmmirror.com/

chrome_JlnnoO0Aql

转载请注明出处或者链接地址:https://www.qianduange.cn//article/14797.html
标签
评论
还可以输入200
共0条数据,当前/页
发布的文章

安装Nodejs后,npm无法使用

2024-11-30 11:11:38

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!