首先你要有node 和npm
全局安装angular npm install -g @angular/cli
安装一个angular项目 ng new 项目名称
cd进入新建的项目
跑页面 ng serve --open