淘宝镜像安装

#### 淘宝镜像安装

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

安装成功后 使用 cnpm i xxx 代替 npm install xxx
原文地址:https://www.cnblogs.com/China-baikaishui/p/12187337.html