Ghostty
Set up Ghostty, a GPU-accelerated terminal emulator, with Nerd Fonts and custom themes for a modern terminal experience
What is Ghostty?
Ghostty is a GPU-accelerated terminal emulator focused on speed, correctness, and native platform integration. It supports ligatures, true color, and custom themes out of the box.
Prerequisites
None β Ghostty works with any shell. The ZSH guide is recommended for the best experience.
Install Nerd Fonts
Many terminal tools (including Starship) use special glyphs for Git status, language icons, and other indicators. You need a patched Nerd Font to render them properly.
brew install --cask font-meslo-lg-nerd-fontOther popular choices:
brew install --cask font-jetbrains-mono-nerd-font
brew install --cask font-fira-code-nerd-font# Download and install manually
mkdir -p ~/.local/share/fonts
cd ~/.local/share/fonts
curl -fLO https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Meslo.tar.xz
tar -xf Meslo.tar.xz
fc-cache -fvInstallation
brew install --cask ghosttyGhostty provides packages for major distributions. See the Ghostty installation docs for your distro.
Configure Ghostty
Create ~/.config/ghostty/config:
font-family = MesloLGS Nerd Font
font-size = 14
theme = Argonaut
background-opacity = 0.95
window-padding-x = 8
window-padding-y = 8
Browse available themes with
ghostty +list-themesin terminal.
Manage with Dotfiles
To manage Ghostty config with GNU Stow:
mkdir -p ~/my-dotfiles/shared/ghostty/.config/ghostty
mv ~/.config/ghostty/config ~/my-dotfiles/shared/ghostty/.config/ghostty/config
cd ~/my-dotfiles
stow -d shared -t ~ ghostty
Troubleshooting
Icons display as squares or question marks
You are missing a Nerd Font or your terminal is not configured to use it. Verify:
- A Nerd Font is installed (
fc-list | grep -i nerdon Linux) - Your terminalβs font is set to the Nerd Font (
font-familyin config)
Resources
Official Ghostty terminal emulator documentation
Patched fonts with developer icons and glyphs