> ## 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.

# Shell completion

> Tab completion for rivvr in bash, zsh, fish, and PowerShell.

With completion set up, you can type part of a `rivvr` command and press Tab, and your terminal fills in the rest or shows the options.

The bundle already includes completion files. To create them yourself, pick your shell:

> [tab] zsh
>
> ```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
> rivvr completion zsh > "${fpath[1]}/_rivvr"
> ```
>
> Then open a new terminal. If Tab completion doesn't work in zsh at all yet, first add this line to `~/.zshrc`: `autoload -U compinit; compinit`

> [tab] bash
>
> This needs the `bash-completion` package, which you can install with your system's package manager.
>
> ```bash 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
> ```
>
> Then open a new terminal. To try it in the current terminal only, run `source <(rivvr completion bash)`.

> [tab] fish
>
> ```bash theme={"theme":{"light":"github-light","dark":"vesper"}}
> rivvr completion fish > ~/.config/fish/completions/rivvr.fish
> ```
>
> Then open a new terminal.

> [tab] PowerShell
>
> ```powershell theme={"theme":{"light":"github-light","dark":"vesper"}}
> rivvr completion powershell | Out-String | Invoke-Expression
> ```
>
> This works until you close the window. To keep it, add the same line to your PowerShell profile.

By default, completion also shows a short description next to each command. Add `--no-descriptions` to the `rivvr completion` command to show only the names.


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