macOS Terminal Selection and Configuration Checklist: From Installation to Troubleshooting

    This guide compares macOS terminal emulators including Terminal.app, iTerm2, Alacritty, Kitty, WezTerm, and Ghostty; explains how to install them with Homebrew; provides baseline font, opacity, and color settings; covers native split panes and tmux shortcuts; shows how to configure Starship or Oh My Posh; and outlines version control, syntax validation, and recovery steps for common configuration failures.

    1. The Short Answer

    If you want to minimize setup work, use iTerm2 and rely on its keyboard shortcuts for split panes. If you prefer a lightweight terminal and keyboard-driven workflows, choose Alacritty or Ghostty and use tmux for split panes. Both approaches work well with AI coding tools; the difference is the learning curve and how splits are handled.

    2. Terminal Selection Comparison

    Terminal Rendering Native splits Main configuration file Image display Best for
    Terminal.app System drawing No Preferences, saved as plist No Occasional use without installing extra software
    iTerm2 Metal rendering can be enabled Yes Preferences, or JSON files in the DynamicProfiles directory Yes, via the iTerm2 image protocol Users who need graphical splits and rich features
    Alacritty GPU accelerated No, use with tmux ~/.config/alacritty/alacritty.toml No Users who want a lightweight terminal and are comfortable with tmux
    Kitty GPU accelerated Yes, built-in layouts ~/.config/kitty/kitty.conf Yes, via the kitty graphics protocol Users who need splits and image display
    WezTerm GPU accelerated Yes ~/.config/wezterm/wezterm.lua Yes Users who like logic-driven configuration in Lua
    Ghostty GPU accelerated Yes ~/.config/ghostty/config Yes, via the kitty graphics protocol Users who want a native look and plain-text configuration

    Use the following guidelines when choosing:

    • Want minimal setup and graphical split panes: choose iTerm2.
    • Want fast rendering and a lightweight terminal, and already use or are willing to use tmux: choose Alacritty.
    • Need to view images directly in the terminal: choose Kitty, WezTerm, or Ghostty.
    • Want to manage complex configuration as code: choose WezTerm.

    Terminal.app is suitable for temporary use. It has no native split panes, so multitasking depends on tabs and multiple windows.

    3. Installation

    Homebrew is the recommended installation method. Use the --cask flag for GUI applications. Do not use it for command-line tools such as tmux and Starship.

    1. brew install --cask iterm2
    2. brew install --cask alacritty
    3. brew install --cask kitty
    4. brew install --cask wezterm
    5. brew install --cask ghostty

    Terminal icons and prompt symbols require Nerd Font support. Install one as well:

    1. brew install --cask font-jetbrains-mono-nerd-font

    To upgrade later, run brew upgrade --cask <app-name>, for example brew upgrade --cask alacritty.

    If you do not want to use Homebrew, download the installer from the official website and drag the app into the Applications folder. On first launch, macOS may warn that the developer cannot be verified. Allow the app to open in System Settings > Privacy & Security.

    4. Basic Configuration

    Use a progressive approach: change only the font, font size, and opacity first. After confirming that everything displays correctly, add other settings. Changing too many options at once makes it difficult to identify the cause of a problem.

    The examples below use JetBrainsMono Nerd Font.

    Alacritty, configuration file at ~/.config/alacritty/alacritty.toml:

    1. [font]
    2. size = 14.0
    3. [font.normal]
    4. family = "JetBrainsMono Nerd Font"
    5. [window]
    6. opacity = 0.95
    7. decorations = "Buttonless"

    Alacritty enables configuration hot reload by default, so changes take effect after saving the file.

    Kitty, configuration file at ~/.config/kitty/kitty.conf:

    1. font_family JetBrainsMono Nerd Font
    2. font_size 14.0
    3. background_opacity 0.95
    4. enabled_layouts splits,stack

    After editing, press Ctrl+Shift+F5 to reload the configuration. This is the default key mapping and can be changed in the configuration file.

    Ghostty, configuration file at ~/.config/ghostty/config:

    1. font-family = JetBrainsMono Nerd Font
    2. font-size = 14
    3. background-opacity = 0.95

    WezTerm, configuration file at ~/.config/wezterm/wezterm.lua:

    1. local wezterm = require 'wezterm'
    2. local config = wezterm.config_builder()
    3. config.font = wezterm.font 'JetBrainsMono Nerd Font'
    4. config.font_size = 14.0
    5. config.color_scheme = 'Catppuccin Mocha'
    6. config.window_background_opacity = 0.95
    7. return config

    WezTerm automatically watches for configuration file changes.

    iTerm2 does not have a hand-written main configuration file. Select a Nerd Font in Settings > Profiles > Text > Font.

    Check Color and Character Display

    After configuration, run the following commands to check whether the terminal supports true color and common symbols. The output of AI coding tools depends on these capabilities.

    1. printf '\033[38;2;255;120;0mTrue color test: should appear orange\033[0m\n'
    2. echo "Wide characters and symbols: 中文 ✓ → ✗"

    If the first line appears orange, true color is working. Chinese characters and symbols should align correctly without boxes or garbled text.

    5. Split Panes and Shortcuts

    The following are the default iTerm2 shortcuts. For other terminals, use their default shortcuts or change them in the corresponding configuration.

    Action iTerm2 shortcut
    Split left/right (vertical split) Cmd+D
    Split top/bottom (horizontal split) Cmd+Shift+D
    Switch split pane Cmd+Option+Arrow key
    Maximize or restore current pane Cmd+Shift+Enter
    Close current pane Cmd+W

    If you use Alacritty or do not want to depend on graphical split panes, use tmux.

    1. brew install tmux

    Add the following to ~/.tmux.conf:

    1. set -g mouse on
    2. set -g history-limit 50000
    3. set -g base-index 1

    The default tmux prefix key is Ctrl+b. Press the prefix key first, then press the key below:

    Action Key
    Split left/right %
    Split top/bottom "
    Switch pane Arrow key
    Maximize or restore current pane z
    Detach from session while keeping it running d

    Start a named session with tmux new -s work. Reconnect after detaching with tmux attach -t work.

    Start with three of the most common operations, such as splitting left/right, switching panes, and maximizing a pane. Practice them a few times each day, then add more shortcuts after a week.

    6. Status Bar and Prompt

    A prompt can show the current directory, Git branch, and the duration of the previous command, reducing the need to run extra queries. The following example uses Starship, which supports zsh, bash, and fish. The default shell on macOS is zsh.

    1. brew install starship

    Open ~/.zshrc in an editor and add the following line at the end:

    1. eval "$(starship init zsh)"

    Create ~/.config/starship.toml:

    1. add_newline = false
    2. [character]
    3. success_symbol = "[❯](bold green)"
    4. error_symbol = "[❯](bold red)"
    5. [directory]
    6. truncation_length = 3
    7. [git_branch]
    8. format = "on [$symbol$branch]($style) "
    9. [cmd_duration]
    10. min_time = 2000
    11. format = "took [$duration]($style) "

    min_time = 2000 means the duration is shown only when a command takes longer than 2000 milliseconds (2 seconds), avoiding output for every command.

    If you want more themes, use Oh My Posh:

    1. brew install oh-my-posh

    Add eval "$(oh-my-posh init zsh)" to ~/.zshrc. It offers more theme choices, but its configuration is more complex than Starship. Beginners should start with Starship.

    Visual Baseline

    • The contrast ratio between text and background should be at least 4.5:1, which is the WCAG AA requirement for normal text.
    • Background opacity should be set between 0.9 and 0.95. Too low reduces readability; too high removes the effect.
    • Keep the prompt to one line and avoid stacking too many modules.

    7. Version Control, Validation, and Troubleshooting

    Put Configuration Under Version Control

    Before changing configuration, create a backup repository:

    1. mkdir -p ~/dotfiles/terminal
    2. cp ~/.config/alacritty/alacritty.toml ~/dotfiles/terminal/
    3. cd ~/dotfiles && git init && git add . && git commit -m "initial terminal config"

    Commit after each change. If configuration breaks, use git diff to inspect changes and git checkout -- <file> to restore the previous version. When moving to a new computer, copy the repository and place the files back in their original locations.

    Validate Configuration Syntax

    Alacritty uses TOML, which can be checked with Python. This command requires Python 3.11 or later.

    1. python3 --version
    2. python3 -c 'import tomllib,sys; tomllib.load(open(sys.argv[1],"rb")); print("syntax OK")' ~/.config/alacritty/alacritty.toml

    If you see No module named tomllib, the Python version is too old. Run brew install python and try again.

    WezTerm configuration is Lua code. After saving, if there is a syntax error, WezTerm usually displays an error message in the window. Fix it according to the message.

    Recovery When Startup Fails

    Alacritty does not start: Rename the configuration file, and the program will start with default settings.

    1. mv ~/.config/alacritty/alacritty.toml ~/.config/alacritty/alacritty.toml.broken

    Kitty does not start: Start it without loading the configuration file, then fix the original file.

    1. kitty --config NONE

    The zsh prompt reports errors or you cannot log in: Start with zsh -f, which does not load any rc files. Then edit ~/.zshrc and remove the Starship or Oh My Posh line.

    1. zsh -f

    Prompt Display Issues

    Starship can output debug logs through an environment variable:

    1. STARSHIP_LOG=debug starship prompt

    The log output can help identify the error.