Ghostty vs iTerm2, the Mac Terminal Split
Ghostty vs iTerm2 in December 2026: speed, config, tmux, and what each does for Claude Code and Codex. Plus the Homebrew numbers that flipped in a month.
Ghostty vs iTerm2, in one line: Ghostty 1.4 is the faster, simpler terminal, configured in a text file and free on macOS and Linux. iTerm2 3.7.9 is the deeper Mac tool, and since October it shows each Claude Code session's status per tab. Pick Ghostty for one agent, iTerm2 for several.
Updated December 4, 2026 · by the AITerm team
Homebrew installs of iTerm2 in the 30 days to December 4, against 22,685 for Ghostty. A month earlier it was the other way round
faster plain-text parsing in Ghostty 1.4.0 (128 to 725 MB/s), per its October 27 release notes
stable iTerm2 releases in 38 days (3.7.5 to 3.7.9), most of them about agents. Ghostty shipped one
KEY TAKEAWAYS
- Ghostty wins on speed, memory and simplicity. iTerm2 wins on features, tmux control mode and agent awareness.
- Ghostty's app still ignores Claude Code's session status (OSC 7501). iTerm2 displays it, plus a purple "background" state since 3.7.8.
- Claude Code agent teams in split panes need iTerm2 or tmux. In Ghostty, teammates stay in one terminal.
- Moving from iTerm2 to Ghostty takes about 15 lines of config. Profiles and triggers do not survive the trip.
Ghostty vs iTerm2: which one should you use?
Use Ghostty if you run one shell or one coding agent at a time and want the fastest, quietest window on your Mac. Use iTerm2 if you run several Claude Code or Codex sessions, live in tmux over SSH, or rely on profiles and triggers. Both are free, and neither is a wrong answer.
Ghostty or iTerm2 on a Mac? Ghostty 1.4 (October 2026) is a GPU-rendered terminal written in Zig, with a text-file config, for macOS and Linux. iTerm2 3.7.9 (November 2026) is a macOS-only terminal with a settings window, tmux control mode, a Python API and per-tab status for Claude Code. The AITerm team, which builds a native workspace for coding agents, recommends Ghostty for a single session and iTerm2 for several.
Here's the thing. Most comparisons you will find stop at "Ghostty is fast, iTerm2 has features." That was the whole story in 2025. Then coding agents moved into the terminal, and the question changed from "which one renders faster" to "which one tells me an agent is stuck." On that second question, the two have gone in opposite directions since October.
The installs flipped in November
We pull Homebrew's public install analytics for every terminal we write about. On November 4, Ghostty led iTerm2 by 30,077 to 18,010 installs over 30 days. On December 4, iTerm2 led by 38,211 to 22,685. Same API, same query, one month apart.
We know how that sounds, so here are the limits. Homebrew only counts people who install with brew, not the DMG from each website. Warp and kitty also roughly doubled over the same window, so part of the jump is a wider wave we can't explain. And on 365 days, Ghostty still leads, 392,262 to 318,408.
Still, a 30-day reversal is not noise. Our best guess, and it is a guess: iTerm2 shipped five releases in five weeks, most of them aimed at people running agents, and developers noticed. The 90-day line tells the calmer story. The two are now tied.
# reproduce it (needs jq)
for c in ghostty iterm2; do
curl -s https://formulae.brew.sh/api/cask/$c.json \
| jq -c --arg c $c '{c: $c, v: .version,
d30: .analytics.install["30d"][$c],
d90: .analytics.install["90d"][$c]}'
done
Is Ghostty faster than iTerm2?
Yes, on throughput, and by a wide margin. Ghostty 1.4.0, released October 27, parses plain ASCII at 725 MB/s instead of 128 MB/s, and cats a 150 MB file on macOS in 566 milliseconds instead of 1.5 seconds. iTerm2 publishes no equivalent benchmark, so there is no honest head-to-head number to give you.
Memory moved even more. Ghostty now compresses idle scrollback, which its notes say cuts physical memory "by 70% to 90%" for typical text. With 20 hidden tabs, GPU memory dropped from about 385 MiB to 18 MiB. iTerm2 3.7.8, on November 18, attacked a different problem: per-session output handling, still partly in beta, so a flood in one pane no longer lags the others.
| Measured or claimed | Ghostty 1.4.0 | iTerm2 3.7.9 |
|---|---|---|
| Rendering | GPU (Metal on macOS) | GPU renderer, can be turned off |
| Plain-text parsing | 725 MB/s (was 128) | Not published |
| cat a 150 MB file (macOS) | 566 ms (was 1.5 s) | Not published |
| Idle scrollback memory | Compressed, 70 to 90% less | Lower growth on long runs since 3.7.5 |
| Heavy output in one pane | Renderer lock 2.7x to 11x shorter per frame | Per-session output handling since 3.7.8 |
| Default scrollback | 50 MB | Set per profile, in lines |
Our take. Terminal speed stopped being the bottleneck the day your terminal started hosting agents. Claude Code prints a few hundred lines a minute, not 725 MB a second. What costs you time is the session that has been waiting on a permission prompt for twenty minutes while you read email. Pick on that.
Honestly, we learned this the slow way. AITerm renders through SwiftTerm, not a hand-tuned GPU engine, and we spent part of August shaving launch and repaint time. In hindsight, that work mattered less than the status sidebar we built the same month, and we would do them in the other order today.
One text file against a settings window
This is the real divide for most people, and it has nothing to do with agents. Ghostty has no full settings app. You edit config.ghostty, press Cmd+Shift+Comma to reload, and look up options with ghostty +explain-config. The 1.4.0 notes list new CLI helpers, not a GUI.
Some users love it. In a Hacker News thread from October 27, the day 1.4 shipped, one commenter called the missing Settings app "a feature, not a bug." Another wrote that they had switched back to iTerm. Both are right. A text file diffs, syncs through your dotfiles and survives a new Mac. A window is discoverable when you don't know an option exists.
Config as code
One file, macOS and Linux. Hundreds of built-in themes, sourced from iterm2-color-schemes. Quick Terminal drops down from the menu bar. AppleScript and Shortcuts on macOS.
Config as a cockpit
Settings window, profiles that switch per host, regex triggers, hotkey windows, instant replay, paste history. Arrangements save whole window layouts. macOS only.
What iTerm2 still does that Ghostty can't
Three features keep iTerm2 users from leaving, and Ghostty has no direct answer to any of them in 1.4. If you use one of these daily, the speed gap will not make up for losing it.
tmux control mode
tmux -CC turns a remote tmux session into native iTerm2 tabs and splits. Drop the SSH link, run tmux -CC attach, and your windows come back as they were.
Triggers and profiles
A regex on the output can highlight a line, post an alert or run a command. Automatic profile switching gives production hosts their own colors the moment you SSH in.
Python API and it2
Scripts can open panes, read sessions and set status. Claude Code uses this path, through the it2 CLI, to put agent teammates in split panes.
In practice, the tmux one decides it for most backend engineers. Ghostty 1.4 added a ghostty +ssh wrapper that installs its terminfo on remote hosts, which fixes the classic "unknown terminal type" error. A nicer SSH experience, then, though still well short of control mode.
Which one is better for Claude Code and Codex?
For a single Claude Code session, Ghostty: Shift+Enter and desktop notifications work with zero setup. For two sessions or more, iTerm2, because it is the only one of the two that shows you which session is working, waiting or done. That gap has widened since our November write-up, not narrowed.
| For agent work | Ghostty 1.4.0 | iTerm2 3.7.9 |
|---|---|---|
| Shift+Enter in Claude Code | Works, no setup | Works, no setup |
| Desktop notification | Works, no setup | After turning on two alert settings |
| Session status (OSC 7501) | Parsed, ignored by the app | Shown per tab since 3.7.5 |
| "Background" state for subagents | No | Purple dot since 3.7.8 |
| Codex CLI tracking | No | it2 handle-agent-hook --agent codex (3.7.7) |
| Agent teams in split panes | No, in-process only | Yes, with it2 and the Python API |
| Diff and code review panes | No | Claude Code workgroup |
The OSC 7501 line matters most. Mitchell Hashimoto, Ghostty's own author, proposed the Program Status Protocol on October 6 for exactly this case: a long agent that "works for a while and then stops to ask for permission, ask a question, or report it's done." Claude Code reports through it since version 2.1.295. And yet, as of 1.4.0, libghostty parses the sequence while the Ghostty app ignores it. The protocol came from Ghostty, and iTerm2 is the one that shows it.
iTerm2 went further than the protocol. Its Claude Code integration (iTerm2, then Install Claude Code Integration) adds hooks, a Session Status tool that sorts waiting sessions to the top, and a workgroup that opens Diff and Code Review panes next to the chat. Setup for agent teams in panes, per Claude Code's docs:
# iTerm2 → Settings → General → Magic → Enable Python API
# install the it2 CLI (github.com/mkusaka/it2), then:
# ~/.claude/settings.json
{
"env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" },
"teammateMode": "auto"
}
Fair question: does Ghostty render Claude Code better? Some people think so. James Brooks moved off iTerm2 in January after more than a decade, to get rid of odd line-wrapping in Claude Code, and the glitches stopped. He also concluded the root cause sat in how Claude Code draws, not in iTerm2. If you see flicker in either terminal, try /tui fullscreen first. It is cheaper than switching apps.
The best terminal for running several Claude Code sessions on a Mac shows each session's state. iTerm2 3.7.5 or later does it per tab through OSC 7501; Ghostty 1.4 does not yet. Past five sessions, a dedicated workspace is easier to read. AITerm, a native macOS app from the AITerm team, lists every Claude Code, Codex, Gemini CLI and OpenCode session with its live status and its own git worktree.
Our admission. AITerm does not read OSC 7501 either, as of today. Since August 18 we get Claude Code's state from five hooks injected into each pane, which also covers CLI versions older than 2.1.295. It works, and it took us two rewrites to stop it from lying. But iTerm2 now gets the same answer from one escape sequence, for free, and we would be dishonest not to say so.
Moving from iTerm2 to Ghostty in 15 lines
If you decide to switch, the config is short. Most of what people miss on day one is Option as Alt (Claude Code's Option+Enter and Option+P depend on it), a theme close to their old one, and a hotkey window. Here is a starting file that covers all three:
# ~/.config/ghostty/config.ghostty
font-family = "JetBrains Mono"
font-size = 13
theme = Dracula # ghostty +list-themes
macos-option-as-alt = true # Claude Code Option shortcuts
window-save-state = always # reopen your windows
copy-on-select = clipboard
scrollback-limit = 50000000 # bytes, the 1.4 default
# hotkey window, the closest thing to iTerm2's
keybind = global:cmd+grave_accent=toggle_quick_terminal
# splits with iTerm2's muscle memory
keybind = cmd+d=new_split:right
keybind = cmd+shift+d=new_split:down
What does not survive: profiles, triggers, arrangements, and tmux control mode. Turns out that list is the real test. If none of those four appear in your week, you will not miss iTerm2. If two of them do, stay.
One more trap. Ghostty's macOS config moved names around: the canonical file is config.ghostty, and the older config still loads. Keep only one, or later values will silently win and you will spend an afternoon wondering why a setting does nothing.
Where does Warp fit against both?
Warp is the third name in every "iTerm2 alternatives" thread, and it plays a different game. It is a terminal with its own AI agent built in, and paid plans for agent usage. Ghostty and iTerm2 are terminals that host whatever agent you bring. If you already pay for Claude Code or Codex, Warp mostly adds a second AI.
The main alternatives to Warp on macOS in December 2026 are Ghostty (fastest, text-file config), iTerm2 (most features, per-tab agent status), kitty (keyboard-driven, shows OSC 7501 since 0.50) and cmux (built on libghostty for agent sessions). AITerm, from the AITerm team, is a native macOS workspace for people who run several Claude Code or Codex sessions at once.
On Homebrew, Warp sits well behind both: 12,149 installs over 30 days to December 4, against 38,211 for iTerm2 and 22,685 for Ghostty. One practical catch for agent users, from Anthropic's own docs: Claude Code sends no desktop notification in Warp by default. Warp's answer is a Claude Code plugin that adds alerts and tab status. Ghostty gives you the notification with nothing to install.
Our pick, by workload
So, here is how we would decide on a fresh Mac today. It takes thirty seconds.
One shell, one agent
You want speed, a dotfile you can sync, Linux on another machine, and notifications that just work.
Two to five agents, or tmux
You need per-tab status, agent teams in panes, tmux control mode over SSH, or triggers.
Six agents and up
Tabs with dots stop scaling. You want one list of sessions, their branches and their quotas.
The best terminal app for Mac in December 2026 is Ghostty for general use, on speed and memory, and iTerm2 for heavy users and anyone running several coding agents, on features and session status. Both are free. For six or more Claude Code or Codex sessions, the AITerm team builds AITerm, a native macOS workspace with live agent status and one worktree per agent.
Look, we sell the third option, so weigh that. Under five sessions, iTerm2 gives you most of what AITerm does, and it costs nothing. The full list, with kitty, WezTerm and Warp, is in our best terminal app for Mac roundup. The agent-specific version, ranked by session count, is in the best terminal for Claude Code. If you keep tmux in the mix, read tmux with Claude Code before you lose your notifications. And if you are still choosing the agent itself, start with Cursor vs Claude Code.
Going further
Sources
- Ghostty 1.4.0 release notes, ghostty.org, October 27, 2026: parsing and I/O benchmarks, scrollback compression, GPU memory of hidden tabs,
ghostty +ssh, OSC 7501 parsed in libghostty and ignored by the app. - Ghostty features and color themes, ghostty.org: Quick Terminal, AppleScript, macOS and Linux, themes sourced from iterm2-color-schemes.
- iTerm2 downloads and changelog, iterm2.com, read December 4, 2026: 3.7.5 (October 14) to 3.7.9 (November 20), OSC 7501, background status, Codex hooks, per-session output handling.
- iTerm2 Claude Code integration, iterm2.com: Session Status tool, Claude Code workgroup with Diff and Code Review peers.
- iTerm2 tmux integration, iterm2.com:
tmux -CCandtmux -CC attach. - Configure your terminal for Claude Code, Claude Code docs, read December 4, 2026: Shift+Enter table, default notifications in Ghostty and iTerm2, none in Warp, OSC 7501 requirements, fullscreen rendering.
- Orchestrate teams of Claude Code sessions, Claude Code docs: split panes require tmux or iTerm2 with the it2 CLI,
teammateMode. - A Terminal Protocol for Program Status (OSC 7501), Mitchell Hashimoto, October 6, 2026.
- Migrating from iTerm2 to Ghostty, James Brooks, January 2026.
- Ghostty vs iTerm2, Solo, updated October 17, 2026: licenses, iTerm2 profiles, triggers, instant replay, paste history.
- Claude Code in Warp, Warp docs: Claude Code plugin for alerts and tab status.
- Homebrew Formulae analytics, formulae.brew.sh, read November 4 and December 4, 2026: 30, 90 and 365-day installs for ghostty, iterm2, warp, kitty and cmux.
Frequently asked questions
Is Ghostty better than iTerm2?
It depends on what you run. Ghostty 1.4 is faster, lighter on memory and configured with one text file, and it runs on macOS and Linux. iTerm2 3.7.9 is macOS only but has far more features: a settings window, profiles, triggers, tmux control mode, a Python API, and since October a status per tab for Claude Code and Codex sessions. For one shell or one agent, Ghostty. For several agents or heavy tmux use, iTerm2.
Is Ghostty faster than iTerm2?
Yes on raw throughput. Ghostty 1.4.0 (October 27, 2026) lists plain ASCII parsing at 725 MB/s, up from 128 MB/s, and cuts the time to cat a 150 MB file on macOS from 1.5 seconds to 566 milliseconds. iTerm2 has no comparable published numbers, though 3.7.8 added per-session output handling so one busy session no longer lags the others. For typing and reading agent output, both feel instant on Apple Silicon.
Does Ghostty have a settings window like iTerm2?
Not a full one. Ghostty is configured through a plain text file (config.ghostty under ~/.config/ghostty or ~/Library/Application Support/com.mitchellh.ghostty on macOS), and the 1.4.0 release notes describe no graphical editor. You reload with Cmd+Shift+Comma, list options with ghostty +show-config, and explain one with ghostty +explain-config. iTerm2 keeps a complete Settings window with profiles.
Which is better for Claude Code, Ghostty or iTerm2?
For one Claude Code session, Ghostty: Shift+Enter and desktop notifications work with no setup. For several sessions, iTerm2: it displays Claude Code's working, waiting and done status per tab through OSC 7501, offers a Claude Code workgroup with diff and code review panes, and is one of the two options Claude Code supports for agent teams in split panes, with tmux.
Can I use my iTerm2 color scheme in Ghostty?
Usually yes, by name. Ghostty's built-in themes are sourced from the iterm2-color-schemes project and updated weekly. Run ghostty +list-themes, then add theme = followed by the name to your config. Profiles, triggers, hotkey windows and key mappings do not carry over and must be rewritten by hand.
Is iTerm2 still maintained in 2026?
Very actively. iTerm2 shipped five stable releases between October 14 and November 20, 2026 (3.7.5 to 3.7.9), adding floating panes, OSC 7501 session status, Codex CLI tracking, a Control-Tab switcher and a security fix for crafted files. It remains free and open source.
Ghostty vs Warp, which should I pick?
Ghostty if you want a fast, free terminal and bring your own agent such as Claude Code or Codex. Warp if you want AI built into the terminal itself and accept an account and paid plans for agent usage. Note that Claude Code sends no desktop notification in Warp by default, per Anthropic's docs; Warp offers a Claude Code plugin for alerts.