首页 > 其他分享 >NPM 国内源

NPM 国内源

时间:2024-11-01 20:42:08浏览次数:3  
标签:NPM npm set com 国内 registry https config

  • 查看当前源

npm config get registry

  • 切换国内源

腾讯云
npm config set registry https://mirrors.cloud.tencent.com/npm

淘宝
npm config set registry http://registry.npmmirror.com

阿里云
npm config set registry https://npm.aliyun.com

华为云
npm config set registry https://mirrors.huaweicloud.com/repository/npm

网易
npm config set registry https://mirrors.163.com/npm

中国科学技术大学开源镜像站
npm config set registry http://mirrors.ustc.edu.cn

清华大学开源镜像站
npm config set registry https://mirrors.tuna.tsinghua.edu.cn

官方源
npm config set registry https://registry.npmjs.org

标签:NPM,npm,set,com,国内,registry,https,config
From: https://www.cnblogs.com/zhuo512/p/18521243

相关文章