Dictation in Terminal, iTerm2 and Warp
Terminals are where developers increasingly write prose, because that's where Claude Code, Codex and other agent CLIs live. Each Mac terminal app adds its own wrinkle for dictation: a security setting that can block hotkeys, paste warnings, or a voice feature of its own. This page goes app by app. For agent CLIs specifically, see our separate guide to dictation in Claude Code.
Two kinds of terminal text
Most of what you type at a shell prompt is commands: short, exact and full of flags. Dictation adds little there and can do damage, since a speech model will happily turn a path into a word that sounds similar. The text that benefits from voice is prose: prompts for an agent CLI, commit message bodies, notes in a heredoc. Keep that split in mind, then deal with each app's quirks.
Terminal
Apple's Terminal has a Secure Keyboard Entry option in the Terminal menu. Apple says it prevents other apps from detecting and recording what you type in Terminal, and warns that apps which need your keystrokes won't receive them while it's on. Turn it on when you type passwords on a shared machine. If you rely on a global dictation hotkey, know that this setting is the first suspect when the key stops responding while Terminal is in front.
iTerm2
iTerm2 has the same option under iTerm2 > Secure Keyboard Entry, and its documentation says it plainly: it may disable global hotkeys in other programs. A dictation key is a global hotkey, so if yours works everywhere except iTerm2, check that menu.
The other iTerm2 settings that touch dictation are about pasting:
- Warn Before Multi-Line Paste asks before pasting more than one line. A long dictated prompt with paragraph breaks will trigger it.
- Limit Multi-Line Paste To Shell Prompt limits that warning to the shell prompt, so pasting into an agent CLI isn't interrupted. It needs iTerm2's shell integration.
- Advanced Paste in Edit > Paste Special lets you pick earlier clipboard entries and edit text before it goes in, which is handy when a dictation needs a quick fix.
The warnings are there for a good reason. A pasted newline at a shell prompt runs a command, so leave them on if you paste commands often.
Warp
Warp is the one terminal here with voice built in. Its docs describe turning it on in Settings > Agents > Warp Agent > Voice Then you either click the microphone in Agent Mode or hold a hotkey, which is Fn by default on macOS. It works in all of Warp's input fields, including ordinary command entry.
Two details matter for work. The transcription is powered by Wispr Flow, a third party, and Warp says the voice data is processed in real time and not kept as a recording afterwards. Voice also has anti-abuse limits, and on Enterprise plans an admin may have turned it off. If cloud transcription is fine for you, it's the shortest path inside Warp. If you'd rather keep audio on the Mac, see private dictation for work.
Because Warp and many dictation apps both want a held fn, pick a different key for one of them. Our page on the fn key and dictation explains what macOS itself does with that key.
Habits that keep terminals safe
- Dictate prose, type commands. Paths, flags and branch names are faster and safer from the keyboard.
- Use a tool that never presses Return for you. You decide when a line runs.
- Read before Return, every time. Look at negations, numbers and file names.
- For long text, dictate into the agent's prompt or an editor, not a bare shell prompt, where a stray newline executes.
With FnFlow
FnFlow works the same in Terminal, iTerm2 and Warp because it pastes into the window rather than integrating with the app. Hold fn or right ⌘, talk, let go, and the text goes in with one ⌘V. FnFlow doesn't press Return. Recognition runs on your Mac with Whisper, with no account and no word limit.
Two limitations. FnFlow's key is a global hotkey too, so Secure Keyboard Entry can affect it like any other. And it types sentences, not commands: it won't turn "dash dash force" into --force, which is fine, because you shouldn't dictate that anyway. For Claude Code, Codex and terminals inside VS Code or Cursor, the details are in dictation in Claude Code and the terminal.
CLI agents with their own voice: Claude Code, Gemini CLI, Copilot CLI and Antigravity.
Questions
Does Warp have voice input?
Yes. Warp's docs describe voice input that you turn on in Settings > Agents > Warp Agent > Voice. On macOS you hold Fn by default. Transcription is powered by Wispr Flow, so the audio is processed by a third party.
Why did my dictation hotkey stop working in iTerm2?
Check iTerm2 > Secure Keyboard Entry. iTerm2's docs say it may disable global hotkeys in other programs, and a dictation key is one. Terminal has the same setting in its Terminal menu.
Is it safe to dictate shell commands?
For harmless ones, yes, but read before you press Return. Speech models can mishear a path or a flag. Never dictate destructive commands like rm or force-push and run them without looking.
Can FnFlow and Warp's voice both use fn?
Not comfortably. Both listen for a held fn by default. Switch FnFlow to right ⌘ in Settings → General, or change Warp's hotkey.
Local Wispr Flow alternativeFnFlow vs VoiceInkVoice input for CursorHow 7 Mac dictation apps get you to your first dictationWhisper.cpp on Apple Silicon: which large-v3-turbo quantization to shipHow I built a local dictation appVoice dictation in Claude Code and the terminalWhy holding fn doesn't work for dictation on Mac (and how to fix it)How to run Whisper locally on an Apple Silicon MacSpokenly alternative for developersFnFlow vs EnviousWisprHow to dictate a good prompt for AI coding toolsVoice dictation in VS Code on a MacTeaching Whisper your jargon: initial prompt and replacementsWhy Whisper types "Thank you" on silence, and how to filter itPrivate dictation on a Mac at work: what actually leaves your machineVoice input for Codex CLI and the ChatGPT appVoice coding on a Mac: what actually worksWriting git commit messages by voiceDictating code review comments on GitHubDictation in IntelliJ IDEA, PyCharm and WebStorm on a MacDictation in Zed on a MacWhich Whisper model to use on an Apple Silicon MacPush-to-talk dictation on a Mac: hold, toggle or streamSuperwhisper alternative for developersClaude Code voice mode: how to enable /voice and fix itWhisper apps: five ways to run Whisper locallyTalon voice coding vs a dictation appPush to talk on a MacDoes Claude have a voice mode?VoiceInk vs Wispr FlowVoiceInk vs SuperwhisperParakeet vs Whisper on a MacApple SpeechAnalyzer vs WhisperWhisper.cpp vs faster-whisper on a MacMlx-whisper vs whisper.cppGitHub Copilot voice inputGemini CLI voice inputVoice input in Google AntigravityVibe coding with voice input