Dictate in the Mac Terminal
Apple's Terminal has no dictation of its own, and neither iTerm2 nor Ghostty document one. Warp is the exception, with a Voice feature powered by Wispr Flow. Everywhere else, you have Apple Dictation, your coding agent's own voice mode, or a dictation app that pastes into the terminal.
What people dictate in a terminal is rarely a shell command: it's prompts for Claude Code or Codex, commit messages, notes. We make Lipwrite, a Mac dictation app; here is how the options compare, terminal by terminal.
By the Lipwrite team · Updated on December 2, 2026
Who has a microphone
Apple Dictation starts with the Microphone key, your Dictation shortcut, or Edit > Start Dictation. It has no time limit and stops after 30 seconds of silence (Apple's guide).
| Terminal | Built-in voice | Apple Dictation |
|---|---|---|
| Terminal (Apple) | Not documented | Types where you can type, as everywhere on the Mac |
| iTerm2 | Not documented | Types where you can type; the Composer (View > Show Composer) gives you a native text area |
| Warp | Voice, powered by Wispr Flow: hold Fn | Users report it types nothing (issue) |
| Ghostty | Not documented | Types where you can type |
Apple Dictation in a terminal: watch “new line”
Apple says “new line” is equivalent to pressing Return. At a shell prompt, Return runs the line; in Claude Code, it sends the prompt. Dictate without line-break commands, then press Return yourself.
In integrated terminals such as Cursor's, users report duplicated text with voice input that replaces partial words with the final transcription: the terminal has already sent the partial words, Cursor's support explains (thread). VS Code has its own terminal dictation: see Dictate in VS Code.
Coding agents' own voice
The microphone permission belongs to the terminal app, not to the tool running inside it.
- Claude Code: /voice. Hold Space to talk; the text waits for Enter. It needs a claude.ai account, sends your audio to Anthropic and doesn't work over SSH. Details.
- Codex CLI: /voice or F8. A spoken conversation with Codex rather than text you reread. Details.
- Warp: Voice. Hold Fn (change it in Settings > Agents > Warp Agent > Voice); it works in all of Warp's inputs. Wispr Flow transcribes and doesn't keep a recording; usage limits apply (Warp's docs). See also Lipwrite vs Wispr Flow.
Give your terminal the microphone
- 1Choose Apple menu > System Settings > Privacy & Security > Microphone.
- 2Turn on Terminal, iTerm2, Warp or Ghostty.
- 3If your terminal isn't listed, run tccutil reset Microphone com.apple.Terminal (com.googlecode.iterm2 for iTerm2). Without an app ID, the command resets every app.
- 4Quit the terminal with Cmd+Q and reopen it: macOS doesn't ask again while it's running.
Dictate in any terminal with Lipwrite
Lipwrite works the same way in Terminal, iTerm2, Warp, Ghostty, Kitty or WezTerm. Hold fn, speak, release: your voice is transcribed on the Mac, the text is cleaned of filler words and false starts, then pasted at the cursor. It doesn't matter what runs in the window: Claude Code, Codex, an SSH session. Only the text goes through our servers and Claude to be cleaned up, and our servers don't keep it.
In terminals, Lipwrite always pastes and doesn't read your selection, so rewriting selected text by voice isn't guaranteed there. It never presses Enter: you reread, then you run or send.
In Warp, Lipwrite and Warp's Voice both use fn by default: change one of them. Lipwrite also offers Right Option, Right Command or Right Control.
Line breaks and paste warnings
A dictated prompt often has several paragraphs, so it arrives as a multi-line paste. Terminals guard against that, because pasted line breaks can run commands. At a bare shell prompt, keep dictation for one-line commands you reread.
- iTerm2: Edit > Paste Special > Warn Before Multi-Line Paste asks before pasting more than one line (menu docs).
- Ghostty: paste protection is on by default and asks before pasting text that looks unsafe, unless the program running uses bracketed paste (config reference).
- Claude Code: past 800 characters or three lines, the paste shows as [Pasted text #1 +N lines] and is sent in full when you press Enter.
- iTerm2's Composer (View > Show Composer) is a native text area where you can prepare a long input before sending it.
Read next
- The best dictation apps for coding and AI promptsDictate prompts to Cursor, Claude Code, VS Code or ChatGPT: technical words, editing by voice, MCP and privacy in 7 Mac dictation apps compared.
- The best dictation apps for Mac in 2026Lipwrite, Wispr Flow, Superwhisper, Apple Dictation and more: where your voice goes, AI clean-up, free plan and price of 9 Mac dictation apps.
- Dictate your ChatGPT prompts on MacChatGPT has a Dictate button and Voice. What each does, where the audio goes, and how to dictate clean prompts on Mac in ChatGPT and every other app.
- Dictate your Claude prompts on MacClaude has dictation, voice mode and a Caps Lock shortcut on Mac. What each one does, where your voice goes, and how to dictate clean prompts everywhere.
- Dictate in Cursor on MacCursor's microphone writes in the agent chat only. How to use it, what its docs leave out, the bugs users report, and how to dictate anywhere in Cursor.
- Dictate to Claude Code on MacHow Claude Code's /voice works on Mac (hold Space, tap mode, 20 languages), what it needs, why it stops at SSH, and how to dictate prompts without it.
- Dictate in Codex on MacCodex now lives in the ChatGPT desktop app. Where its Dictate button is, which plans have it, what the CLI's /voice does, and how to dictate everywhere.
Sources
- support.apple.com/guide/mac-help/use-dictation-mh40584/mac
- support.apple.com/guide/mac-help/control-access-to-the-microphone-on-mac-mchla1b1e1fe/mac
- docs.warp.dev/agents/local-agents/interacting-with-agents/voice
- iterm2.com/documentation-menu-items.html
- ghostty.org/docs/config/reference
- code.claude.com/docs/en/voice-dictation
The facts about Terminal come from its official pages and help center, read on the date above. Apps change: check their site if something looks different. A mistake? Write to contact@xinova.fr and we will fix it.
Frequently asked questions
Can you dictate in the Mac Terminal?
Yes, with Apple Dictation (Edit > Start Dictation or your shortcut), with Claude Code's /voice if you use it, or with a dictation app that pastes, like Lipwrite. Terminal has no dictation of its own.
Why doesn't Apple Dictation work in Warp?
Users have reported it on Warp's issue tracker since 2022: the dictation window appears but no text arrives. Warp's own Voice (hold Fn) or a dictation app that pastes gets around it.
How do I give Terminal access to the microphone?
System Settings > Privacy & Security > Microphone, then turn on Terminal. If it isn't listed, run tccutil reset Microphone com.apple.Terminal, then quit and reopen Terminal.
Can a dictated command run by itself?
Lipwrite never presses Enter. A line break is another matter: Apple counts “new line” as Return, and iTerm2 and Ghostty can warn you before a multi-line paste. Reread, then press Return.
Does dictation work over SSH?
Claude Code's /voice doesn't. A tool that types or pastes into your local terminal window, like Apple Dictation or Lipwrite, doesn't care where the session runs.
Try it with your voice.
4,000 cleaned-up words every month and 3 meetings to try it. Free, no credit card.
Download for MacFor Apple Silicon Macs, macOS 14.2 or later.