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

# rivvr completion

> Generate shell completion scripts.

Set up Tab completion, so your terminal can fill in `rivvr` commands as you type. See [shell completion](https://docs.rivvr.ai/configuration/shell-completion.md).

| Command | What it does |
| - | - |
| [`zsh`](#rivvr-completion-zsh) | Print the zsh completion script. |
| [`bash`](#rivvr-completion-bash) | Print the bash completion script. |
| [`fish`](#rivvr-completion-fish) | Print the fish completion script. |
| [`powershell`](#rivvr-completion-powershell) | Print the PowerShell completion script. |

## rivvr completion zsh

Print the zsh completion script. Save it to a directory in your `fpath`, then start a new shell. If completion isn't on yet, add `autoload -U compinit; compinit` to `~/.zshrc` first.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr completion zsh [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
# Linux
rivvr completion zsh > "${fpath[1]}/_rivvr"
# macOS with Homebrew
rivvr completion zsh > $(brew --prefix)/share/zsh/site-functions/_rivvr
# Current shell only
source <(rivvr completion zsh)
```

| Flag | Default | Description |
| - | - | - |
| `--no-descriptions` | | Complete command names without descriptions |

## rivvr completion bash

Print the bash completion script. It needs the `bash-completion` package. Start a new shell after saving it.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr completion bash
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
# Linux
rivvr completion bash > /etc/bash_completion.d/rivvr
# macOS with Homebrew
rivvr completion bash > $(brew --prefix)/etc/bash_completion.d/rivvr
# Current shell only
source <(rivvr completion bash)
```

| Flag | Default | Description |
| - | - | - |
| `--no-descriptions` | | Complete command names without descriptions |

## rivvr completion fish

Print the fish completion script. Start a new shell after saving it.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr completion fish [flags]
```

```bash Examples theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr completion fish > ~/.config/fish/completions/rivvr.fish
# Current shell only
rivvr completion fish | source
```

| Flag | Default | Description |
| - | - | - |
| `--no-descriptions` | | Complete command names without descriptions |

## rivvr completion powershell

Print the PowerShell completion script. The command below loads it for the current session; add the same line to your PowerShell profile to load it every time.

```bash Usage theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr completion powershell [flags]
```

```bash Example theme={"theme":{"light":"github-light","dark":"vesper"}}
rivvr completion powershell | Out-String | Invoke-Expression
```

| Flag | Default | Description |
| - | - | - |
| `--no-descriptions` | | Complete command names without descriptions |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.