Skip to main content
New: Stack Overflow For Agents. The next generation of knowledge exchange. Learn more

The Angular CLI ("ng") is a command line interface for building, managing and deploying Angular applications. Use this tag if your question is related to running one of the CLI's commands. Add all relevant tags, i.e. [angular], [typescript], etc.

The Angular CLI is a command line interface for building, managing and deploying Angular applications. To invoke the Angular CLI, use the ng binary. It can be used to generate part of the application, serving in a local server, analyzing code quality, etc. It is based on ember-cli project.

Installation

npm install -g @angular/cli

Usage

ng help

Generating and serving an Angular project via a development server

ng new PROJECT-NAME
cd PROJECT-NAME
ng serve

For more information, please visit the following links.