What does the Angular CLI do? Name some common commands.

Angular basics · Freshers

Model answer

The Angular CLI is a command-line tool that creates and manages Angular projects so you do not set up the build by hand. Common commands: ng new creates a project, ng serve runs a development server with live reload, ng generate (or ng g) creates components, services and more, ng build makes a production build, and ng test runs unit tests.

It also handles updates: ng update helps move a project to a newer Angular version.

Tips

Learn this topic

Angular Tutorial: Beginner to Advanced .

Sign in to add your own answer.

More questions