Talk to Claude Code on Linux
To dictate into Claude Code on Linux, click into its prompt, press Ctrl+Alt+Space in Saycaret and talk. The words appear in the terminal as you say them, and the speech model runs on your computer. Saycaret never presses Enter, so nothing is sent until you have read it.
Most of my prompts start this way. I lean back, explain the change the way I would to a colleague, and read it once before I send it.
Written by Nicolas Jakob, who makes Saycaret. Checked on .
How it works in a terminal
- Click into the Claude Code prompt.
- Press Ctrl+Alt+Space and talk. The last few words stay underlined while Saycaret may still correct them.
- Press Ctrl+Alt+Space again to stop.
- Read the prompt, fix what you want with the keyboard, press Enter.
In a terminal, Saycaret leaves out line breaks, so a pause can never send a half-finished prompt. If you switch windows while you talk, it pauses and keeps your words until you come back.
Claude Code's /voice, or Saycaret
Claude Code has its own dictation. You type /voice, then hold Space and talk. If you only ever dictate into Claude Code, it is the quicker start, and it knows your project's name and branch.
It works differently from Saycaret in a few ways:
- It sends your audio to Anthropic for transcription. Saycaret keeps it on your computer.
- It needs a claude.ai sign-in, and is off when Claude Code runs on an API key or a cloud provider such as Bedrock.
- It works inside Claude Code only. Saycaret also types into your browser, your editor and chat apps.
- It does not work over SSH. Saycaret types into your local terminal window, so a Claude Code running on a server gets your words too.
- In tap mode, it stops recording after two minutes.
These details come from Claude Code's voice dictation docs.
Other agents and tools
Saycaret types into whatever text field has focus, so it works the same in Codex CLI, Gemini CLI, Aider, Cursor's chat, and claude.ai or ChatGPT in the browser. There is nothing to set up per app.
Words the model gets wrong
Speech models learned English from people who say "cloud" far more often than "Claude". When a word comes out wrong, add a word fix in Saycaret's settings, such as cloud to Claude, or get hub to GitHub. It applies to every dictation after that.
Why I made Saycaret
With the tool I used before, I stopped talking and then waited 15 to 20 seconds for the text. If I clicked into another window in that time, the characters landed there instead. I wanted the words while I talk, and only where I started, so I built that.
If Saycaret is not on your computer yet, set it up on Ubuntu first.
Get Saycaret
Or paste this into your coding agent:
Install Saycaret on this computer by following https://saycaret.com/install.md. Ask me before any command that needs sudo.