Configure Angular CLI autocomplete

You get an autocomplete experience when working with Angular CLI. Execute the appropriate command for your *nix environment:

  • For bash shell:
$ ng completion --bash >> ~/.bashrc
$ source ~/.bashrc
  • For zsh shell:
$ ng completion --zsh >> ~/.zshrc
$ source ~/.zshrc
  • For Windows users using git bash shell:
$ ng completion --bash >> ~/.bash_profile
$ source ~/.bash_profile

Get Angular 6 for Enterprise-Ready Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.