Skip to main content
Angular CLI - Overview

Angular CLI - Overview

Understand the ng command, workspace configuration, schematics, and Architect targets.

Angular CLI - Overview illustration

How it works

The CLI reads angular.json to locate projects, builders, and target configurations. Built-in commands invoke Architect targets; schematics generate or modify files. Start with ng help and the project’s package.json and angular.json when a command behaves differently from an example.

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 - Overview · Current Angular CLI reference · Workspace configuration.