1. npm install -g cnpm --registry=https://registry.npm.taobao.org(安装淘宝镜像)
2.cnpm install -g @angular/cli(安装)
3.ng version (检查是否安装成功)
1. npm install -g cnpm --registry=https://registry.npm.taobao.org(安装淘宝镜像)
2.cnpm install -g @angular/cli(安装)
3.ng version (检查是否安装成功)