Skip to main content
Version: v5

ionic completion

Enables tab-completion for Ionic CLI commands.

ionic completion [options]

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