For beginners Angular cli commands

Angular CLI Details


Angular CLI globally npm install -g @angular/cli
Create a new project ng new my-app
Serve the application

ng serve


ng serve --open

Generate Component

ng generate component Test

As per below command  run to create a component in the folder like

src >> app  >> Test

Generate Component in folder ng generate component ./Test/Test-List
Generate Class ng generate class ./Test/Testclass
Generate Service ng generate class ./Test/TestService --type=service