Guide
Read Terminal output aloud on Mac: what works and what doesn't
More of the command line is worth hearing than typing these days — long man pages, build logs, test failures, and the multi-paragraph replies AI coding agents stream into your shell. No Mac terminal ships a listen button, but everything in the scrollback is selectable text, and the Mac's own say command speaks whatever you pipe to it.
Updated 22 November 2026.
Short answerTerminal.app, iTerm2 and Warp have no built-in read-aloud — Warp's voice feature is dictation, not speech output. What works: select text in the scrollback and press Option-Esc (Speak Selection), or Control-Option-S in Aloud to hear it with word-by-word highlight. For whole outputs, pipe to say — man git | col -b | say — or finish a long job with ; say "done". Pipe colored output through col -b or sed first, or the escape codes read as gibberish.
What's worth listening to (and what isn't)
The listen-worthy output is prose: AI agent replies from tools like Claude Code that write paragraphs into your terminal, man pages and --help text, error messages and stack traces you keep re-reading, test failure summaries, and command output you've already copied. The unlistenable kind is machine-formatted text — JSON blobs, tables, diffs, ANSI-colored trees and anything full of file paths. A speech engine reads diff --git a/src/app.ts b/src/app.ts literally, headers and all.
Option-Esc: the fastest answer
- Turn on Speak Selection once: System Settings → Accessibility → Read & Speak (Spoken Content on older macOS) → Speak selection.
- In the terminal, select the output you want — drag over the block, or in Warp click into a block and copy its output.
- Press Option-Esc. Your Mac reads the selection in its current voice.
This works in Terminal.app, iTerm2, Warp and most terminals, because scrollback is real selectable text. In Warp it's tidier than most — each command and its output is a discrete block, so you select exactly one result without catching the prompt lines around it. Selection is the safe route: what you highlight is what you hear, escape sequences and color codes never make it into the clipboard.
Piping output to say
The Mac's say command reads stdin — no setup, no install:
man curl | col -b | say— reads a whole man page (col -bstrips the backspaces that make man pages double-read).long_build.sh; say "build finished"— speaks when the job ends, so you can walk away.pbpaste | say— reads whatever you just copied from any app.cat changelog.md | sayorsay -f notes.txt— reads a whole file.
Two caveats. First, raw colored output sounds wrong: piping ls --color or a test runner's output straight into say feeds it ANSI escape sequences — strip them with col -b, or a sed filter, or re-run the command with --no-color/NO_COLOR=1. Second, say speaks in your Mac's default voice with no pause, no speed control and no highlight — fine for a notification, clumsy for a 40-line agent reply.
The traps that make the terminal sound wrong
- Piping raw output to say — ANSI color and cursor-movement codes get read as literal brackets and letters. Always strip or disable color first.
- Progress bars and spinners — tools redraw one line hundreds of times; the scrollback keeps every frame, and speech reads all of them. Pipe through
grep -vor select the final result instead. - Full-screen TUI apps — vim, htop, tmux panes redraw a screen buffer rather than print lines; selecting gives you a row-slice of the screen, not a document. Quit or detach first.
- Man pages double-read without col -b — bold text in man output is encoded as letter-backspace-letter, so speech can stutter every word twice.
- VoiceOver is something else — Warp and Terminal.app work with VoiceOver, but that's full spoken navigation for blind users, a different job than listening to one output end to end.
A read-aloud setup that covers the terminal and everything else
The pragmatic pattern: run commands with your eyes, listen to the prose that comes back. With Aloud (ours, $19 once per Mac, macOS 14 or later):
- Control-Option-S reads a selection in any app — a Claude Code reply in Terminal.app, a test summary in iTerm2, a whole output block in Warp.
- Control-Option-O reads unselectable text — drag a screen area over a tmux pane, an SSH session rendered oddly, or a screenshot of a crash log.
- Export to .m4a — turn a long agent writeup, an RFC, or a man page into an audio file for later.
- Word-by-word highlight with click-to-seek, 0.75x–2x speed, a sleep timer, and resume from the last sentence.
- Natural voices: your Mac's Enhanced and Premium voices, the on-device Kokoro neural voice (Apple silicon, macOS 15+), or ElevenLabs (v4, v4 Turbo or v3) or Cartesia with your own API key.
Buy Aloud, $19 once No subscription, no account.
Questions
Can the Mac Terminal read output aloud?
Not on its own — Terminal.app, iTerm2 and Warp have no text-to-speech command for output (Warp's voice feature is dictation input, and its screen-reader work is VoiceOver support). To hear terminal text on a Mac, select it and press Option-Esc with Speak Selection on, pipe the command's output into say, or use a reader app like Aloud (Control-Option-S).
How do I make my Mac speak command output?
Pipe it: your_command | say reads whatever the command prints, and your_command; say "done" announces when a long job finishes. Two fixes for bad sound: strip ANSI color codes first (col -b or NO_COLOR=1), and select the output for Speak Selection when you only want part of it — speech reads everything you feed it, including noise.
Can I hear Claude Code or AI agent replies aloud in the terminal?
Yes — agent replies are plain terminal text, so select the reply block and press Option-Esc, or use a reader app's selection shortcut. This is the best use of terminal read-aloud: replies are prose, unlike build logs. For whole sessions, third-party Claude Code plugins and Piper-based terminal add-ons exist, but a selection read needs no install.
Why does Terminal read-aloud sound like gibberish?
Usually ANSI escape sequences — the color and cursor-control codes in colored output. If you piped raw output into say, re-run with NO_COLOR=1 or pipe through col -b first. If you selected scrollback, check that you didn't grab a progress-bar region — those lines repeat the same text hundreds of times — or a redrawn screen from a full-screen app like vim or htop.
More Mac utilities from the developer: SnapState puts your Mac windows, apps and browser tabs back after sleep or a monitor reconnect. $9.99 one-time.