ghostty-theme
v1.2.0
Published
CLI tool for managing Ghostty terminal themes
Downloads
158
Readme
ghostty-theme
Switch Ghostty themes from your terminal — with fuzzy search, favorites, and random mode.
Install
npm install -g ghostty-themeRequires: Ghostty 1.3.0 or newer installed and available in your
PATH.
Usage
ghostty-theme # Browse favorites interactively
ghostty-theme list # Same as above
ghostty-theme list --all # Browse all available themes
ghostty-theme set <name> # Set theme directly by name
ghostty-theme random # Random theme from favorites
ghostty-theme random --all # Random theme from all themes
ghostty-theme add <name> # Add a theme to favorites
ghostty-theme add -c # Add the current theme to favorites
ghostty-theme remove # Remove a theme from favorites (interactive)Interactive Selector
Running ghostty-theme opens a fuzzy-searchable theme picker:
- Type to fuzzy search
- ↑↓ or j/k to navigate
- Enter to apply
- q / Esc to cancel
- Active theme is marked with
*
Favorites
Your favorite themes are stored in ~/.config/ghostty-theme-cli/favorites.json. On first run, a curated set of popular dark themes is added automatically:
Cobalt2, TokyoNight, Dracula, Catppuccin Mocha, Nord, Gruvbox Dark, Solarized Dark Higher Contrast, Atom One Dark, Ayu, Kanagawa Dragon, Rose Pine, Everforest Dark Hard
Random Mode
Shuffle through your favorites (or all themes) with a single command:
ghostty-theme random # Pick from favorites
ghostty-theme random --all # Pick from everythingIt always picks a different theme from the one currently set.
How It Works
- Reads available themes via
ghostty +list-themes - Updates the
theme = ...line in your Ghostty config - Reloads Ghostty through AppleScript on Ghostty 1.3.0+
Manual config reload is not required.
You can override the config path with the GHOSTTY_CONFIG_PATH environment variable.
License
MIT
