添加系统变量:
对应的目录:
找到系统变量下面的path
点击编辑,添加两条记录:
然后保存退出即可
安装cnpm:
npm install -g cnpm --registry=https://registry.npm.taobao.org
添加环境变量:
找到系统变量下面的path:
保存即可