【笔记】修改npm镜像源 发表于 2021-04-22 更新于 2023-12-09 阅读次数: 前言修改npm镜像源 通过命令修改镜像源1npm config set registry=https://registry.npm.taobao.org 通过配置文件修改镜像源修改为淘宝镜像~/.npmrc 1registry=https://registry.npm.taobao.org 修改为官方镜像~/.npmrc 1registry=https://registry.npmjs.org 完成参考文献哔哩哔哩——Python小清风哔哩哔哩——黑马程序员