> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-completion/fish.md).

# fish

The cldkctl completion fish command generates an autocomplete script for the Fish shell. This script enables command-line autocompletion for cldkctl, allowing you to quickly complete commands and flags by pressing the Tab key. The setup can be loaded temporarily for the current session or permanently for all new shell sessions.

## Usage

```
cldkctl completion fish [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. To enable autocompletion temporarily for your current shell session, run the following command:

```
cldkctl completion fish | source
```

This command will activate the autocompletion immediately but only until the current terminal session ends.

2. To enable autocompletion permanently for every new session, execute the command below once:

```
cldkctl completion fish > ~/.config/fish/completions/cldkctl.fish
```

This will create a completion file in your Fish configuration directory so that autocompletion is automatically available in all future sessions.

3. After setting up the file, restart your terminal or open a new shell session for the changes to take effect.
4. Once configured, you can type any cldkctl command and press Tab to auto-complete available commands, subcommands, or flags.

## Flags

{% hint style="info" %}
This command supports global flags. Refer to the Global Flags section for details.
{% endhint %}

| Flag       | Description                      |
| ---------- | -------------------------------- |
| -h, --help | Help for the fish subcommand.    |
| --help     | Disable completion descriptions. |
