Install Angular CLI.
npm install -g angular/cli
Create a new Angular application.
ng new my-app
ng n my-app
Rebuild and run Angular application.
ng serve
Rebuild and run application and open browser with the angular application.
ng serve –open
ng serve –o
Rebuild the application.
ng build
Run end to end testing
ng e2e