>_cli-install
ng

Install Angular CLI

The command-line interface for Angular

The Angular CLI scaffolds, builds, serves, and tests Angular applications. One global install gives you the ng command everywhere.

Install on macOS
npm install -g @angular/cli
Install on Windows
npm install -g @angular/cli
Install on Linux
npm install -g @angular/cli
Run it
ng new my-app
Verify the install
ng version

Before you start

Requires an active LTS version of Node.js and npm.

Official documentation: Angular CLI setup docs

Frequently asked questions

How do I create a new app?

After installing, run ng new my-app, then cd my-app and ng serve.

Do I need a specific Node version?

Use an active Angular-supported LTS release of Node.js. ng version prints the versions it detects.

How do I update the Angular CLI?

Run ng update @angular/cli, or re-run npm install -g @angular/cli for the global tool.

Angular is a trademark of Google LLC. cli-install.com is an independent resource and is not affiliated with or endorsed by the trademark owner.