Skip to main content
Angular CLI - ng completion Command

Angular CLI - ng completion Command

Enable shell completion for Angular CLI commands.

Angular CLI - ng completion Command illustration

How it works

ng completion configures shell tab completion for CLI commands. It modifies the selected shell’s startup configuration; follow the printed instructions and restart or reload the shell. Completion helps discover options but does not replace command-specific help.

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