Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

On this pageOverview

Shell Completion

Shell
dg completion bash --install
dg completion zsh --install
dg completion fish --install

The command appends the appropriate completion setup to your shell profile. Restart your shell or source that profile after installation.

To enable Bash completion only for the current session:

Shell
eval "$(_DG_COMPLETE=bash_source dg)"

For zsh or fish, use the --install command above.

  • Commands: dg listen, dg speak, dg read, etc.
  • Options: command options such as --mic and --model, and root options such as -o
  • File paths after dg listen

The installed setup evaluates completion support from the current dg command, so it automatically reflects a CLI update.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu