Skip to main content
Version: v8

ionic completion

Enables tab-completion for Ionic CLI commands.

$ ionic completion

This command is experimental and only works for Z shell (zsh) and non-Windows platforms.

To enable completions for the Ionic CLI, you can add the completion code that this command prints to your ~/.zshrc (or any other file loaded with your shell). See the examples.

Examples

$ ionic completion 
$ ionic completion >> ~/.zshrc