Skip to main content
Angular CLI - ng help

Angular CLI - ng help

Discover command syntax, aliases, arguments, and available options.

Angular CLI - ng help illustration

How it works

ng help lists commands and global options; ng help <command> gives command-specific usage. Aliases may exist, but use full command names in documentation and scripts for clarity. Consult the installed CLI output when online examples target another version.

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