What is Angular CLI?

Angular CLI is a short form for Angular Command Line Interface. It is a command-line interface to scaffold and build angular apps using node.js style modules.

To use Angular CLI, we have to install it by using the following npm command:

  1. npm install @angular/cli@latest  

Following is a list of some useful commands which would be very helpful while creating angular projects:

  • Creating New Project: ng new
  • Generating Components, Directives & Services: ng generate/g
  • Running the Project: ng serve