国内使用淘宝的NPM镜像,会快一些。
使用方法:
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
之后就可以使用 cnpm 命令来代替npm