17 lines
391 B
Markdown
Raw Normal View History

# ng completion
> Generate shell autocompletion scripts for the Angular CLI.
> More information: <https://angular.dev/cli/completion>.
- Set up autocompletion interactively for the current shell:
`ng completion`
- Generate an autocompletion script for `bash` or `zsh`:
`ng completion script`
- Source the autocompletion script in the current session:
`source <(ng completion script)`