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/

相关推荐
大福ya1 分钟前
AI开源项目改造NextChat(ChatGPT-Next-Web)实现前端SSR改造打造一个初始框架
前端·chatgpt·前端框架·开源·aigc·reactjs·ai编程
n***333513 分钟前
SpringBoot返回文件让前端下载的几种方式
前端·spring boot·后端
纯粹的热爱34 分钟前
🌐 阿里云 Linux 服务器 Let's Encrypt 免费 SSL 证书完整部署指南
前端
北辰alk35 分钟前
Vue3 自定义指令深度解析:从基础到高级应用的完整指南
前端·vue.js
AAA阿giao36 分钟前
使用 Vite + Vue 3 搭建项目并配置路由的全流程(含国内镜像加速)
vue.js·node.js·vite
小熊哥72240 分钟前
谈谈最进学习(低延迟)直播项目的坎坷与收获
前端
用户892254118290141 分钟前
游戏框架文档
前端
Holin_浩霖41 分钟前
mini-react 实现function 组件
前端
Yanni4Night41 分钟前
JS 引擎赛道中的 Rust 角色
前端·javascript
欧阳的棉花糖43 分钟前
纯Monorepo vs 混合式Monorepo
前端·架构