# Source: https://docs.vespa.ai/en/reference/clients/vespa-cli/vespa_completion.html.md

# vespa completion

 

## vespa completion

Generate the autocompletion script for the specified shell

### Synopsis

Generate the autocompletion script for vespa for the specified shell. See each sub-command's help for details on how to use the generated script.

### Options

```
-h, --help help for completion
```

### Options inherited from parent commands

```
-a, --application string The application to use (cloud only)
  -C, --cluster string The container cluster to use. This is only required for applications with multiple clusters
  -c, --color string Whether to use colors in output. Must be "auto", "never", or "always" (default "auto")
  -i, --instance string The instance of the application to use (cloud only)
  -q, --quiet Print only errors
  -t, --target string The target platform to use. Must be "local", "cloud", "hosted" or an URL (default "local")
  -z, --zone string The zone to use. This defaults to a dev zone (cloud only)
```

### SEE ALSO

- [vespa](vespa.html) - The command-line tool for Vespa.ai
- [vespa completion bash](vespa_completion_bash.html) - Generate the autocompletion script for bash
- [vespa completion fish](vespa_completion_fish.html) - Generate the autocompletion script for fish
- [vespa completion powershell](vespa_completion_powershell.html) - Generate the autocompletion script for powershell
- [vespa completion zsh](vespa_completion_zsh.html) - Generate the autocompletion script for zsh

 Copyright © 2026 - [Cookie Preferences](#)

### On this page:

- [vespa completion](#vespa-completion)
- [Synopsis](#synopsis)
- [Options](#options)
- [Options inherited from parent commands](#options-inherited-from-parent-commands)
- [SEE ALSO](#see-also)