---
# Code generated by make gen. DO NOT EDIT.
title: 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
| | |
|------|------------------------------------------|
| Type | bash\|fish\|zsh\|powershell |
The shell to install completion for.
### -p, --print
| | |
|------|-------------------|
| Type | bool |
Print the completion script instead of installing it.