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

# sqd autocomplete

> Display Squid CLI autocomplete installation instructions for zsh, bash, or PowerShell.

Display shell autocomplete installation instructions.

## Usage

```text theme={"system"}
USAGE
  $ sqd autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  zsh | bash | powershell

FLAGS
  -r, --refresh-cache  Refresh the command cache without displaying instructions
```

Pass the shell name to print the setup instructions for that shell:

```bash theme={"system"}
sqd autocomplete zsh
sqd autocomplete bash
sqd autocomplete powershell
```

After adding the generated setup to your shell configuration, restart the shell. Run `sqd autocomplete --refresh-cache` after installing a new CLI version or adding commands through `commands.json`; cache refresh mode does not print setup instructions.
