Skip to main content
Angular CLI - Home

Angular CLI - Home

Start with Angular CLI and learn how it scaffolds, serves, builds, tests, and maintains Angular workspaces.

Angular CLI - Home illustration

How it works

Angular CLI is Angular’s command-line tool, installed as @angular/cli and invoked as ng. It creates and updates workspaces, builds applications, serves development builds, runs configured targets, and provides schematics. Commands and defaults can vary by CLI version and workspace configuration.

Good practice

  • Check the local Angular CLI version and run commands from the intended workspace.
  • Review angular.json targets and builders before assuming optional commands are configured.
  • Use the package manager and lockfile selected by the project.
  • Review generated files, configuration changes, and build output before committing or deploying.

Further reading: Tutorialspoint: Angular CLI - Home · Current Angular CLI reference · Workspace configuration.