Lumen

Ghostty vs iTerm2

Two of the most popular terminals on the Mac, built on very different ideas. Here's what separates them and which one fits the way you work.

Updated

Ghostty vs iTerm2: the short answer

If you want a fast, native-feeling Mac terminal that you configure with a short text file and then forget about, pick Ghostty. If you rely on tmux control mode, triggers, a GUI preferences window with hundreds of settings, profiles that switch automatically, or iTerm2's newer AI and Claude Code tooling, stay on iTerm2. Neither is a wrong choice. Ghostty is the leaner, more modern core; iTerm2 has fifteen-plus years of features that people build whole workflows around.

The rest of this page goes through the differences that matter day to day, so you can tell which side of that line you are on.

Ghostty and iTerm2 side by side

GhosttyiTerm2
PlatformsmacOS and LinuxmacOS only
LicenceMIT, run as a non-profit projectGPL
Built withZig core (libghostty), Swift with AppKit and SwiftUI for the Mac appObjective-C and Swift, Cocoa
ConfigurationPlain text file, key = valuePreferences window, profiles, plist storage
Tabs and splitsNative tabs and splitsTabs, splits, tab groups (3.7)
Drop-down windowQuick terminal (bind a global key)Hotkey window
tmuxWorks as a normal terminal; no control-mode GUINative tmux integration (tmux -CC)
ImagesFull kitty graphics protocolIts own inline image protocol
ScriptingAppleScript (preview), CLI actionsPython API, AppleScript, triggers
AINone built inOptional AI chat; Claude Code session status in 3.7

Speed and rendering

Both render on the GPU through Metal, and both are quick enough that you will rarely notice the terminal itself on a modern Mac. The difference shows at the edges: very large outputs, long scrollback, many panes open at once. Ghostty was designed from the start around a fast terminal core, and its 1.4 release added compressed idle scrollback to keep memory down. iTerm2 carries a lot more machinery per session (triggers, instant replay, semantic history), which costs something even when you don't use it.

If you care about measuring this rather than taking anyone's word for it, our terminal benchmark guide explains how to test throughput and input latency on your own machine.

On text quality, both handle ligatures, colour emoji and wide characters well. Ghostty's font handling is configurable down to individual OpenType features, so you can turn ligatures off with font-feature = -calt. iTerm2 exposes the same choices through its profile settings.

Configuration: a text file vs a preferences window

This is the biggest everyday difference. Ghostty reads one text file, ~/.config/ghostty/config.ghostty (the Mac also checks ~/Library/Application Support/com.mitchellh.ghostty/). Each line is key = value, every key is also a command-line flag, and Cmd+Shift+, reloads it. A typical setup is ten lines:

font-family = JetBrains Mono
font-size = 14
theme = light:Catppuccin Latte,dark:Catppuccin Mocha
window-padding-x = 8
macos-option-as-alt = true
keybind = cmd+d=new_split:right

You can keep that file in your dotfiles and get the same terminal on every machine, including a Linux box.

iTerm2 is configured through a preferences window with profiles, each holding colours, fonts, keys and behaviour. Profiles can switch automatically by host, user or directory, which is something Ghostty doesn't try to do. You can export settings to a folder and sync them, but the format is a plist, not something you edit by hand. If you like clicking through options, iTerm2 is friendlier. If you like diffs, Ghostty is.

Tabs, splits and windows

Both have native tabs and splits with keyboard shortcuts for creating, moving between and resizing panes. Ghostty uses real macOS tabs, so it behaves like Safari or Finder, and splits can be dragged to rearrange them on the Mac. iTerm2 adds more on top: broadcast input to several panes, tab groups and workgroups in 3.7, saved window arrangements, and its tmux integration, which turns tmux windows and panes into native iTerm2 tabs and splits that survive a dropped SSH connection.

That tmux integration is the single feature most likely to keep you on iTerm2. Ghostty runs tmux like any other program, which is fine if you already live inside tmux, but it doesn't map tmux panes onto its own UI.

For a drop-down window, iTerm2's hotkey window is mature and highly configurable. Ghostty's quick terminal slides in from any screen edge once you bind toggle_quick_terminal to a global key, and it can follow the screen your mouse is on. Our guide to drop-down terminals covers both in more detail.

Shell integration

Both understand where your prompts are. In Ghostty, shell integration is injected automatically for bash, zsh, fish, elvish and nushell (except the old /bin/bash that ships with macOS, which needs manual sourcing). That gives you jump-to-prompt, new tabs in the current folder, clean prompt redraws on resize, and since 1.3 a notification when a long command finishes. iTerm2's shell integration is installed per shell and goes further: command history per host, recent directories, uploads and downloads over SSH, and marks you can navigate. See our shell integration explainer for what these marks are and how they work.

Extensibility and scripting

iTerm2 wins here by a distance. It has a Python API that can drive almost everything, triggers that react to text with regular expressions, a status bar with components, and AppleScript. Version 3.7 adds Claude Code session status on tabs and an AI chat mode that can see and act on your sessions, all optional and off if an administrator disables generative AI.

Ghostty keeps its surface small on purpose. On macOS there is AppleScript support (marked as a preview in 1.3), keybindings can trigger a long list of actions, and since 1.3 there are key tables for tmux-style modal bindings. There is no plugin system. The bigger long-term story is libghostty, the embeddable terminal core, which other apps are starting to build on.

Platforms and licence

iTerm2 is Mac-only and GPL. Ghostty runs on macOS and Linux (GTK 4 on Linux), is MIT licensed and is now a non-profit project. Windows isn't planned for the Ghostty app. If you split your time between a Mac and a Linux machine, Ghostty lets you carry one config across both, which iTerm2 cannot.

Who each one suits

  • Choose Ghostty if you want a fast, modern terminal with sane defaults, keep your config in dotfiles, use Linux too, or want the kitty graphics protocol for image previews in tools like Yazi.
  • Choose iTerm2 if you use tmux -CC, triggers, automatic profile switching, the Python API, or the new Claude Code and AI tooling, or if you prefer setting things in a GUI.

For a wider look at the options, see the best terminal for Mac roundup.

Where Lumen fits

Lumen is a third option worth knowing about if neither fits. It's a free, open-source terminal for macOS and Linux written in Rust, drawn on the GPU with GPUI (the GPU UI framework from the Zed editor). It sits between the two: configured with one commented TOML file that applies on save like Ghostty, but with a few iTerm2-style conveniences built in, such as session restore of every window, tab, split and folder, a shell integration that marks failed commands and notifies you when long ones finish, a command palette, and plugins in any language.

Be clear about what it lacks: Lumen is new, small and mostly one person's work. It has no tmux control mode, no image protocols and no AI features. If those matter to you, Ghostty or iTerm2 is the better pick today.

Questions

Is Ghostty faster than iTerm2?

Both render on the GPU with Metal and feel instant for normal use. Ghostty is built around a leaner, faster core and tends to stay lighter with big outputs and many panes, while iTerm2 carries more per-session features. Measure on your own machine if it matters; our benchmark guide shows how.

Does Ghostty support tmux integration like iTerm2?

No. Ghostty runs tmux as a normal program and works well with it, but it has no equivalent of iTerm2's tmux -CC control mode that turns tmux panes into native tabs and splits.

Can I import my iTerm2 settings into Ghostty?

Not directly. Ghostty uses its own plain-text config, so you recreate the parts you need: font, theme, padding, Option-as-Alt and a few keybindings. Most people end up with a file of ten to twenty lines.

Is Ghostty free?

Yes. Ghostty is free and open source under the MIT licence and is run as a non-profit project. iTerm2 is also free, under the GPL.

Does Ghostty have a hotkey window like iTerm2?

Yes, it is called the quick terminal. Bind the toggle_quick_terminal action to a global key and it slides in from the edge of the screen you choose.

Try Lumen

Free and open source, for Linux and macOS. Copy the command for your system and paste it into a terminal.

curl -fsSL https://lumenshell.dev/install | sh
brew install --cask lumenshell/tap/lumen