Ghostty is a native terminal emulator written in Zig, with GPU rendering and platform-native UI. It works well with almost no configuration.

Installation

On macOS, download the app from ghostty.org or install via Homebrew:

brew install --cask ghostty

Configuration

Ghostty reads a plain text config file at:

~/.config/ghostty/config

Example configuration:

font-family = "JetBrains Mono"
font-size = 14
theme = catppuccin-mocha
window-padding-x = 8
window-padding-y = 8

Key Features

  • GPU rendering through Metal on macOS and OpenGL on Linux
  • Native window decorations, menus and tabs on each platform
  • Built-in split panes
  • Font ligatures, true color and undercurl
  • Shell integration: prompt marking, cursor shape and working-directory tracking

Splits & Tabs

ActionKeybind (macOS)
New windowCmd+N
New tabCmd+T
Close surfaceCmd+W
Previous tabCmd+Shift+[
Next tabCmd+Shift+]
Split rightCmd+D
Split downCmd+Shift+D
Focus split leftCmd+Option+Left
Focus split rightCmd+Option+Right
Focus split upCmd+Option+Up
Focus split downCmd+Option+Down
Increase font sizeCmd++
Decrease font sizeCmd+-
Reset font sizeCmd+0

Themes

Ghostty ships with many built-in themes. List them with:

ghostty +list-themes

Set a theme in config:

theme = nord

Shell Integration

Ghostty integrates with bash, zsh and fish automatically. It tracks the current working directory, marks prompt zones and reports exit codes, and the supported shells need no manual setup.


(y) Return to Notes | (y) Return to CLI & Tools | (y) Return to Home