首页 > 其他分享 > npm

npm

时间:2022-11-13 17:11:53浏览次数:40  
标签:npm set registry https 镜像 config

1、设置淘宝镜像源:

npm config set registry https://registry.npmmirror.com/

2、查看当前镜像源:

npm config get registry

3、设置官方镜像源:

npm config set registry https://registry.npmjs.org

  

标签:npm,set,registry,https,镜像,config
From: https://www.cnblogs.com/bzqs/p/16886321.html

相关文章