---
# Code generated by make gen. DO NOT EDIT.
title: "`coder completion`"
description: Install or update shell completion scripts for the detected or chosen shell.
---
Install or update shell completion scripts for the detected or chosen shell.
## Usage
```console
coder completion [flags]
```
## Options
### -s, --shell
| Property | Value |
|----------|------------------------------------------|
| Type | bash\|fish\|zsh\|powershell |
The shell to install completion for.
### -p, --print
| Property | Value |
|----------|-------------------|
| Type | bool |
Print the completion script instead of installing it.