Some Angular CLI command’s, which help you while developing an Angular Application.
1) To install Angular CLI
npm install -g @angular/cli
2) To get online help
ng help
3) To get detailed help of a command
ng [command name] --help
4) To get Angular version details
Or
ng version
Or
ng --version
5) To create new Angular Project
ng new <ProjectName>
6) To Build Angular Application
ng build
7) To build Angular Project and starts a web server
ng serve
8) To build and open Angular application in browser
Or
ng serve --open
Or
ng serve --o
9) To run an Angular App on a new port
ng serve --o --port <PortNumber>
10) To generate a new component
Or
ng generate component <ComponentName>
Or
ng g c <ComponentName>
11) To create a service
Or
ng generate service <ServiceName>
Or
ng g s <ServiceName>