{
 "topic": "terminal-for-claude-code",
 "url": "https://stacks.jakubdudek.com/terminal-for-claude-code",
 "title": "Which terminal on a Mac for working with Claude Code (instead of iTerm2)",
 "description": "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.",
 "aliases": [
  "terminal",
  "terminal emulator",
  "iterm",
  "iterm2",
  "ghostty",
  "cmux",
  "kitty",
  "warp",
  "wezterm",
  "libghostty",
  "notifications",
  "notification rings",
  "shift+enter",
  "tmux -CC",
  "parallel sessions",
  "parallel agents",
  "codex hooks",
  "hooks setup"
 ],
 "domain": "ai",
 "created": "2026-11-19",
 "last_checked": "2026-11-19",
 "claims": [
  {
   "ref": "terminal-for-claude-code#c1",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c1",
   "card": "terminal-for-claude-code",
   "id": "c1",
   "status": "valid",
   "claim": "By default Claude Code sends a desktop notification to Ghostty, Kitty and iTerm2; iTerm2 shows it only after alerts are turned on.",
   "quote": "a desktop notification, which iTerm2 shows only after you turn on its alert settings",
   "source_url": "https://code.claude.com/docs/en/terminal-config",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c2",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c2",
   "card": "terminal-for-claude-code",
   "id": "c2",
   "status": "valid",
   "claim": "Warp and the VS Code terminal do not get Claude Code's desktop notification; a hook or the bell is needed.",
   "quote": "terminals that do not receive a desktop notification, such as Warp or the VS Code integrated terminal, can use a hook",
   "source_url": "https://code.claude.com/docs/en/terminal-config",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c3",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c3",
   "card": "terminal-for-claude-code",
   "id": "c3",
   "status": "valid",
   "claim": "Shift+Enter works without configuration in Ghostty, Kitty, iTerm2, WezTerm, Warp and Windows Terminal 1.25+.",
   "quote": "Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later",
   "source_url": "https://code.claude.com/docs/en/terminal-config",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c4",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c4",
   "card": "terminal-for-claude-code",
   "id": "c4",
   "status": "valid",
   "claim": "In Ghostty and Kitty, Option as Alt/Meta has to be turned on in the terminal's configuration file.",
   "quote": "look for an Option-as-Alt or Option-as-Meta setting",
   "source_url": "https://code.claude.com/docs/en/terminal-config",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c5",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c5",
   "card": "terminal-for-claude-code",
   "id": "c5",
   "status": "valid",
   "claim": "Claude Code's fullscreen rendering removes flicker and keeps memory flat in long conversations.",
   "quote": "Fullscreen rendering is an alternative rendering path for the Claude Code CLI that eliminates flicker, keeps memory usage flat in long conversations",
   "source_url": "https://code.claude.com/docs/en/fullscreen",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c6",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c6",
   "card": "terminal-for-claude-code",
   "id": "c6",
   "status": "valid",
   "claim": "In iTerm2's tmux -CC mode Claude Code uses the classic rendering, not fullscreen.",
   "quote": "`tmux -CC` integration mode",
   "source_url": "https://code.claude.com/docs/en/fullscreen",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c7",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c7",
   "card": "terminal-for-claude-code",
   "id": "c7",
   "status": "valid",
   "claim": "Ghostty 1.4.0 compresses the scrollback and raises the default limit from 10 to 50 MB per terminal.",
   "quote": "the default scrollback limit has been raised from 10 MB to 50 MB",
   "source_url": "https://ghostty.org/docs/install/release-notes/1-4-0",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c8",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c8",
   "card": "terminal-for-claude-code",
   "id": "c8",
   "status": "valid",
   "claim": "In Ghostty 1.4.0 hidden tabs release GPU memory (about 385 MiB down to 18 MiB with 20 hidden tabs).",
   "quote": "GPU memory dropped from about 385 MiB to 18 MiB",
   "source_url": "https://ghostty.org/docs/install/release-notes/1-4-0",
   "tier": "T1",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c9",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c9",
   "card": "terminal-for-claude-code",
   "id": "c9",
   "status": "valid",
   "claim": "cmux is free and under the GPL.",
   "quote": "**Open source** — Free and GPL-licensed",
   "source_url": "https://github.com/manaflow-ai/cmux",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c10",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c10",
   "card": "terminal-for-claude-code",
   "id": "c10",
   "status": "valid",
   "claim": "cmux renders through libghostty and reads the existing Ghostty config.",
   "quote": "reads your existing Ghostty config",
   "source_url": "https://github.com/manaflow-ai/cmux",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c11",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c11",
   "card": "terminal-for-claude-code",
   "id": "c11",
   "status": "valid",
   "claim": "The cmux sidebar shows for every workspace the branch, the PR, the directory, the ports and the last notification.",
   "quote": "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.",
   "source_url": "https://github.com/manaflow-ai/cmux",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c12",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c12",
   "card": "terminal-for-claude-code",
   "id": "c12",
   "status": "valid",
   "claim": "A practitioner who uses cmux daily: the notification rings become useful from three agents up.",
   "quote": "Past two or three agents, the rings are what I use.",
   "source_url": "https://www.alexdunlop.com/writing/best-terminal-for-claude-code",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c13",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c13",
   "card": "terminal-for-claude-code",
   "id": "c13",
   "status": "valid",
   "claim": "Session restore in cmux does not bring back a live process.",
   "quote": "it still doesn't checkpoint a live process",
   "source_url": "https://www.alexdunlop.com/writing/best-terminal-for-claude-code",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c14",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c14",
   "card": "terminal-for-claude-code",
   "id": "c14",
   "status": "valid",
   "claim": "In cmux, Claude Code is handled by the cmux wrapper, not by cmux hooks setup.",
   "quote": "Claude Code is handled by the cmux Claude wrapper when Claude Code integration is enabled in Settings.",
   "source_url": "https://raw.githubusercontent.com/manaflow-ai/cmux/main/docs/agent-hooks.md",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c15",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c15",
   "card": "terminal-for-claude-code",
   "id": "c15",
   "status": "valid",
   "claim": "cmux hooks for Codex write ~/.codex/hooks.json and ~/.codex/config.toml.",
   "quote": "| Codex | `codex` | `~/.codex/hooks.json`, `~/.codex/config.toml` | `codex resume <id>`",
   "source_url": "https://raw.githubusercontent.com/manaflow-ai/cmux/main/docs/agent-hooks.md",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c16",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c16",
   "card": "terminal-for-claude-code",
   "id": "c16",
   "status": "valid",
   "claim": "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.",
   "quote": "skips Codex's hook review for the whole process",
   "source_url": "https://raw.githubusercontent.com/manaflow-ai/cmux/main/docs/agent-hooks.md",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c17",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c17",
   "card": "terminal-for-claude-code",
   "id": "c17",
   "status": "valid",
   "claim": "After cmux hooks codex install the wrapper adds nothing to the Codex call.",
   "quote": "already installed every cmux handler, the wrapper adds nothing",
   "source_url": "https://raw.githubusercontent.com/manaflow-ai/cmux/main/docs/agent-hooks.md",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  },
  {
   "ref": "terminal-for-claude-code#c18",
   "url": "https://stacks.jakubdudek.com/terminal-for-claude-code/c18",
   "card": "terminal-for-claude-code",
   "id": "c18",
   "status": "valid",
   "claim": "CMUX_CODEX_HOOKS_DISABLED=1 leaves Codex's configuration untouched for that launch.",
   "quote": "Set `CMUX_CODEX_HOOKS_DISABLED=1` for a launch to keep Codex's configuration",
   "source_url": "https://raw.githubusercontent.com/manaflow-ai/cmux/main/docs/agent-hooks.md",
   "tier": "T2",
   "checked": "2026-11-19",
   "valid_until": "2026-12-19"
  }
 ],
 "as_of": "2026-12-04",
 "note": "A claim says what its source said on the day it was checked. \"valid_until\" is the date by which it should be checked again, not a promise that it is true today.",
 "license": "CC BY 4.0",
 "author": "Jakub Dudek",
 "conclusions": "**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.\n\n**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.\n\n**Ghostty 1.4.0.** It compresses the scrollback that is out of view, which let the default limit rise from 10 to 50 MB per terminal [c7]. Hidden tabs release GPU memory (in their measurement a drop from about 385 to 18 MiB with 20 hidden tabs) [c8]. For long Claude Code sessions that is a real difference.\n\n**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`.\n\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].\n\n**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.\n\n**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.",
 "history": []
}
