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/

相关推荐
挫折常伴左右5 分钟前
HTML中的表单
前端·html
天问一7 分钟前
前端引用printJS打印
前端·arcgis
xinyu_Jina1 小时前
PaperStudio:WYSIWYG文档的Web实现——从CSS Print到客户端PDF生成的技术解析
前端·css·pdf
默默学前端1 小时前
html列表标签及css列表属性
前端·css·html5
天天扭码10 小时前
如何实现流式输出?一篇文章手把手教你!
前端·aigc·ai编程
前端 贾公子11 小时前
vue移动端适配方案 === postcss-px-to-viewport
前端·javascript·html
GISer_Jing12 小时前
AI营销增长:4大核心能力+前端落地指南
前端·javascript·人工智能
明远湖之鱼12 小时前
一种基于 Service Worker 的渐进式渲染方案的基本原理
前端
前端小端长13 小时前
Vue 中 keep-alive 组件的原理与实践详解
前端·vue.js·spring