CLI Installation

Install the Deepgram CLI on macOS, Linux, and Windows.

macOS and Linux

The fastest way to install on macOS and Linux:

$curl -fsSL deepgram.com/install.sh | sh

This script detects your OS, checks for Python 3.10+, and installs the dg command to your PATH.

Windows

In PowerShell:

1iwr deepgram.com/install.ps1 -useb | iex

Package Managers

pip

$pip install deepctl

pipx

$pipx install deepctl

uv

$uv tool install deepctl

Homebrew

If you have a custom Homebrew tap configured:

$brew install deepgram/tap/deepgram-cli

Verify Installation

$dg --version
$dg --help

Update

Re-run the install script to update:

$curl -fsSL deepgram.com/install.sh | sh

Or update via pip:

$pip install --upgrade deepctl

Uninstall

$pip uninstall deepctl
$# Or
$uv tool uninstall deepctl

Requirements

  • Python 3.10 or later
  • ffmpeg (for audio processing)