Which terminal on a Mac for working with Claude Code (instead of iTerm2)
Which terminal handles Claude Code best (notifications, Shift+Enter, many sessions), what cmux and its hooks do for Claude Code and Codex, and what a move from iTerm2 costs.
Decision of 19 November 2026: cmux as the main terminal, Ghostty underneath, iTerm2 stays alongside.
With one or two sessions Ghostty alone is enough. cmux pays off when more sessions are open and one has to see which of them is waiting.
What Claude Code needs from a terminal.
By default Claude Code sends the desktop notification about a finished task or a permission request only to Ghostty, Kitty and iTerm2, and iTerm2 shows it only after alerts are turned on c1. Warp and the VS Code terminal do not get it; they need a hook or the bell c2. Shift+Enter works without configuration in Ghostty, Kitty, iTerm2, WezTerm and Warp c3. Option as Alt/Meta (Option+P, Option+Enter) has to be turned on in the terminal's settings c4. Do not turn this on with a Polish keyboard: macos-option-as-alt = true in Ghostty and cmux blocks ą, ę, ł and the other characters typed with Option (checked on 19 November 2026). In iTerm2 the author has both Option keys on “Normal”. Shift+Enter gives a new line without it, and the model can be changed with /model. In iTerm2's tmux -CC mode Claude Code does not turn on flicker-free rendering c5 c6, so that is the one strong reason to stay with iTerm2.
Ghostty 1.4.0.
cmux.
A native macOS app, free, under the GPL c9. It is drawn by libghostty and reads the Ghostty config c10. Its main value is the sidebar: every workspace shows the branch, the PR, the directory, the ports and the text of the last notification c11. A practitioner who uses it daily says the notification rings become useful from three agents up c12. After a restart cmux restores the layout and the agents' sessions, but not a live process interrupted halfway c13. The unit in the sidebar is the workspace (⌘N), not the tab (⌘T). A new window is ⌘⇧N.
cmux hooks.
Claude Code is handled by the cmux wrapper around claude, not by cmux hooks setup c14. setup touches other agents: for Codex it writes ~/.codex/hooks.json and ~/.codex/config.toml c15. Without that installation the cmux wrapper switches off Codex's hook trust check for the whole process at every launch of Codex c16. After the installation it adds nothing c17, so for Codex the permanent installation is the safer one. The switch: CMUX_CODEX_HOOKS_DISABLED=1 c18.
A local reading (cmux 0.65.2, the wrapper's code and the config template, 19 November 2026, no source on the web).
The wrapper works only in cmux terminals and appends --session-id and --settings with the hooks. ~/.claude/settings.json stays untouched. The wrapper sets preferredNotifChannel: notifications_disabled, because cmux takes over the notifications. It passes PermissionRequest to the Feed panel and can attach an MCP server for computer control (CMUX_COMPUTER_USE_MCP_DISABLED=1 turns it off). CMUX_CLAUDE_HOOKS_DISABLED=1 turns the whole integration off. Outside cmux the Codex hooks return {} at once. After the installation codex exec starts printing hook: Stop lines. Telemetry (sendAnonymousTelemetry) is on by default, and claudeCodeIntegration is true by default. cmux cloud (Pro/Max) is paid remote machines, not needed if the background agents run on one's own host anyway.
What was not established.
There is no sound speed benchmark of Ghostty, iTerm2 and Warp. Numbers of the “3x faster” kind come from blogs. Most rankings are written by vendors who put their own product in 1st place (Agentastic, TRMNLY, MOLTamp, Terminal Candy), so the card takes nothing from their texts.
Claims
In our words
In the source's words
By default Claude Code sends a desktop notification to Ghostty, Kitty and iTerm2; iTerm2 shows it only after alerts are turned on.
a desktop notification, which iTerm2 shows only after you turn on its alert settings
code.claude.com · T1
Warp and the VS Code terminal do not get Claude Code's desktop notification; a hook or the bell is needed.
terminals that do not receive a desktop notification, such as Warp or the VS Code integrated terminal, can use a hook
code.claude.com · T1
Shift+Enter works without configuration in Ghostty, Kitty, iTerm2, WezTerm, Warp and Windows Terminal 1.25+.
Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later
code.claude.com · T1
In Ghostty and Kitty, Option as Alt/Meta has to be turned on in the terminal's configuration file.
look for an Option-as-Alt or Option-as-Meta setting
code.claude.com · T1
Claude Code's fullscreen rendering removes flicker and keeps memory flat in long conversations.
Fullscreen rendering is an alternative rendering path for the Claude Code CLI that eliminates flicker, keeps memory usage flat in long conversations
code.claude.com · T1
In iTerm2's tmux -CC mode Claude Code uses the classic rendering, not fullscreen.
`tmux -CC` integration mode
code.claude.com · T1
Ghostty 1.4.0 compresses the scrollback and raises the default limit from 10 to 50 MB per terminal.
the default scrollback limit has been raised from 10 MB to 50 MB
ghostty.org · T1
In Ghostty 1.4.0 hidden tabs release GPU memory (about 385 MiB down to 18 MiB with 20 hidden tabs).
GPU memory dropped from about 385 MiB to 18 MiB
ghostty.org · T1
cmux is free and under the GPL.
**Open source** — Free and GPL-licensed
github.com · T2
cmux renders through libghostty and reads the existing Ghostty config.
reads your existing Ghostty config
github.com · T2
The cmux sidebar shows for every workspace the branch, the PR, the directory, the ports and the last notification.
The sidebar has vertical tabs that show git branch, linked PR status/number, working directory, listening ports, and the latest notification text for each workspace.
github.com · T2
A practitioner who uses cmux daily: the notification rings become useful from three agents up.
Past two or three agents, the rings are what I use.
alexdunlop.com · T2
Session restore in cmux does not bring back a live process.
it still doesn't checkpoint a live process
alexdunlop.com · T2
In cmux, Claude Code is handled by the cmux wrapper, not by cmux hooks setup.
Claude Code is handled by the cmux Claude wrapper when Claude Code integration is enabled in Settings.
cmux hooks for Codex write ~/.codex/hooks.json and ~/.codex/config.toml.
| Codex | `codex` | `~/.codex/hooks.json`, `~/.codex/config.toml` | `codex resume <id>`
When the Codex hooks are not installed, the cmux wrapper adds --dangerously-bypass-hook-trust, which switches off the hook check for the whole process.
skips Codex's hook review for the whole process
After cmux hooks codex install the wrapper adds nothing to the Codex call.
already installed every cmux handler, the wrapper adds nothing
CMUX_CODEX_HOOKS_DISABLED=1 leaves Codex's configuration untouched for that launch.
Set `CMUX_CODEX_HOOKS_DISABLED=1` for a launch to keep Codex's configuration