一、安装cnpm,输入如下命令:npm
npm install -g cnpm --registry=https://registry.npm.taobao.org
如图所示:code
二、输入cnpm -v ,检测是否正常blog
cnpm -v