1、npm install -g cnpm --registry=https://registry.npm.taobao.org 2、cnpm install -g @angular/cli@latest