国内镜像源推荐镜像毛,有NPM、pip
2023-03-18 15:14 作者:yangxiaoguo2222 | 我要投稿
https://jingxiangmao.com/ 这个好用

阿里云源配置 Nodejs Npm registry sass phantomjs electron sqlite3 profiler chromedriver sentrycli 源 详情
一、配置方法
1、一键脚本
怎样指定不同范围的配置文件
-g set 命令加入这个选项,命令效果会修改全局配置文件值(写入文件需要管理员权限)
例子:
npm config set -g registry https://registry.npmmirror.com
在选项不传递时,
则效果为修改当前用户配置文件
