# completion

Install or update shell completion scripts for the detected or chosen shell.

## Usage [#usage]

```console
coder completion [flags]
```

## Options [#options]

### -s, --shell [#-s---shell]

|      |                                          |
| ---- | ---------------------------------------- |
| Type | <code>bash\|fish\|zsh\|powershell</code> |

The shell to install completion for.

### -p, --print [#-p---print]

|      |                   |
| ---- | ----------------- |
| Type | <code>bool</code> |

Print the completion script instead of installing it.
