1.安装node.js 和cnpm2.cnpm install -g @angular/cli 安装angular脚手架:3.ng new angulardemocd angulardemocnpm installng serve --open