Deepgram CLI — Getting Started
Deepgram CLI — Getting Started
Transcribe audio, synthesize speech, and manage your Deepgram account — all from your terminal.
Deepgram CLI — Getting Started
Transcribe audio, synthesize speech, and manage your Deepgram account — all from your terminal.
The dg CLI gives you full access to Deepgram APIs from your terminal. Transcribe files, stream live audio, synthesize speech, analyze text, and manage your Deepgram account — without writing a single line of code.
The CLI defaults to human-readable output in the terminal. Use -o or --output to switch formats:
When stdout is a pipe, the CLI automatically switches to JSON.
The CLI auto-detects AI agent environments (Claude Code, Aider, OpenAI Codex, Gemini) and adjusts its behavior:
To explicitly enable agent-friendly mode:
To get machine-readable parameter documentation: