安装```nodejs``` 安装完毕 修改阿里云镜像,不要用CNPM!!! ``` npm config set registry https://registry.npm.taobao.org --global ``` ``` npm config set disturl https://npm.taobao.org/dist --global ``` 查看 ``` npm config get registry ``` 安装```angular``` 脚手架,一台电脑只需要安装一次 ``` npm install -g @angular/cli ``` > 新建项目 ``` ng new demo --skip-install npm install ``` >运行项目 ``` ng serve --open ```