> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tai42.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# tai completion

> Install shell completion for the tai CLI.

Install shell completion for the tai CLI.

```console theme={null}
$ tai completion [OPTIONS] COMMAND [ARGS]...
```

## `tai completion install`

Emit a shell completion script for the tai CLI.

Pipe it into the shell's completion directory, e.g.
`tai completion install bash &gt; /etc/bash_completion.d/tai`.

```console theme={null}
$ tai completion install [OPTIONS] SHELL:{bash|zsh|fish}
```

| Argument                            | Description                                         |
| ----------------------------------- | --------------------------------------------------- |
| `SHELL:&#123;bash\|zsh\|fish&#125;` | Shell to emit a completion script for. *(required)* |

| Option                 | Description                            |
| ---------------------- | -------------------------------------- |
| `--json` / `--no-json` | Emit raw JSON instead of human tables. |
