Skip to main content
Angular CLI - Quick Guide

Angular CLI - Quick Guide

Review an end-to-end command workflow for creating, developing, testing, and building an app.

Angular CLI - Quick Guide illustration

How it works

A common workflow is ng new, ng generate, ng serve, ng test, and ng build, followed by a deployment process configured for the target host. Check command availability in the local CLI, review configuration changes, and keep CI aligned with the lockfile.

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