npm的镜像设置

npm国内镜像地址设置

//查看使用的镜像源
npm get registry
//全局设置taobao镜像源
npm config set registry https://registry.npmmirror.com/
//全局设置npm官方镜像源
npm config set registry http://www.npmjs.org

posted @ 2022-06-06 18:36  陆敏技  阅读(710)  评论(0编辑  收藏  举报
Web Counter
Coupon for Contacts