npm下载慢换国内镜像地址

1 设置淘宝镜像地址

bash 复制代码
npm config set registry http://registry.npm.taobao.org

2 查看当前下载地址

bash 复制代码
npm config get registry

3 其它镜像地址列表:

  1. 官方镜像:https://registry.npmjs.org/

  2. 淘宝镜像:https://registry.npm.taobao.org/

  3. cnpm镜像:https://r.cnpmjs.org/

  4. 阿里云镜像:https://npm.aliyun.com/

  5. 中国科技大学镜像:https://mirrors.ustc.edu.cn/npm/

  6. 华为云镜像:https://mirrors.huaweicloud.com/repository/npm/

  7. 七牛云镜像:https://npm.qiniu.com/

相关推荐
星哥说事1 分钟前
跨平台开源笔记神器,用DeepSeek写笔记 , 效率翻倍
前端
喜欢你,还有大家29 分钟前
FTP文件传输服务
linux·运维·服务器·前端
该用户已不存在33 分钟前
你没有听说过的7个Windows开发必备工具
前端·windows·后端
Bi44 分钟前
Dokploy安装和部署项目流程
运维·前端
普通网友1 小时前
前端安全攻防:XSS, CSRF 等防范与检测
前端·安全·xss
携欢1 小时前
PortSwigger靶场之Reflected XSS into attribute with angle brackets HTML-encoded通关秘籍
前端·xss
小爱同学_1 小时前
React知识:useState和useRef的使用
前端·react.js
再学一点就睡1 小时前
双 Token 认证机制:从原理到实践的完整实现
前端·javascript·后端
wallflower20201 小时前
滑动窗口算法在前端开发中的探索与应用
前端·算法
蚂蚁绊大象1 小时前
flutter第二话题-布局约束
前端