淘宝镜像安装方法

淘宝镜像安装

控制台内执行
npm install -g cnpm --registry=https://registry.npm.taobao.org

使用

安装成功后 使用 cnpm i xxx 代替 npm install xxx

原文地址:https://www.cnblogs.com/guwufeiyang/p/12818529.html