1.下载淘宝镜像的口令 npm install -g cnpm --registry=https://registry.npm.taobao.org 2.用以下口令继续下载其他内容 cnpm install [name]