本文不介绍如何安装Node.js,请直接百度安装cnpm(淘宝镜像)输入命令行npm install -g cnpm --registry=https://registry.npm.taobao.org之后可用cnpm代替npm