npm/cnpm 设置镜像地址

npm 查看当前镜像源: npm config get registry # https://registry.npmjs.org/ 修改当前镜像源: npm config set registry https://registry.npmjs.org/ cnpm 安装 cnpm: npm install cnpm -g 查看当前镜像源: cnpm config get registry # https://registry.npm.example.com 修改当前镜像源: cnpm config set registry https://registry.npm.example.com

本文章由javascript技术分享原创和收集

发表评论 (审核通过后显示评论):