Skip to main content

ghosttytheme | Live Ghostty theme picker for macOS

ghosttytheme lets you preview and change Ghostty themes on macOS with your keyboard. Filter bundled or custom themes by name and see how they color a sample prompt, diff, code, and ANSI palette before you save.

Project site · Top 50 Ghostty themes

Install

Requires Ghostty on macOS and Python 3.8 or newer.

pip install ghosttytheme
ghosttytheme

If your Python reports an externally managed environment, use a virtual environment or run pipx install ghosttytheme. The package also provides the original gtheme command.

Update with pip install --upgrade ghosttytheme or pipx upgrade ghosttytheme, depending on how you installed it.

Use

ghosttytheme

Press Tab to cycle through All, Top 50, Dark, and Light. Search with / inside any list. You can also open a list directly.

ghosttytheme --top
ghosttytheme --dark
ghosttytheme --light

Top 50 follows the gallery’s curated order and shows themes available in your installation. Dark and Light classify installed themes by their background color, including custom themes with a defined background.

Key Action
↑ / ↓ or k / j Move one theme and preview it
Tab / Shift+Tab Switch to the next or previous list
Page Up / Page Down Jump up or down by ten themes
Home / End Jump to the first or last theme
/ Start a case-insensitive name filter
Backspace Remove a character while editing the filter
Enter while filtering Finish typing and keep the filtered results
Esc while filtering Clear the filter and stay in the current list
Enter while browsing Save the highlighted theme
q or Esc while browsing Cancel and restore the previous colors
Ctrl+C Cancel from either mode

Saving writes one theme value to your Ghostty config and prints the file it updated. If you use an automatic light/dark pair, saving replaces the pair in that file. The picker checks both the macOS Application Support and XDG config directories, including legacy files named config. With no existing config, it uses the macOS Application Support directory. It requests a reload from the Ghostty instance running the terminal when it can verify support for the reload signal.

Command-line options

Option Purpose
-h, --help Show usage and exit
--config PATH Edit a specific config file, such as a file loaded through a config-file directive.
--themes-dir PATH Browse only this directory. The picker saves the selected theme as an absolute path so Ghostty can find it.
--top, --dark, --light Open the picker in the chosen list
--no-reload Write the config and leave reloading to you.

Examples

  • Compare Catppuccin variants. Run ghosttytheme, press /, type catppuccin, and press Enter. Use ↑ and ↓ to compare results. Press Enter again to save the highlighted variant.
  • Try Dracula and keep your current theme. Press /, type dracula, and press Enter to leave the filter. Press q to exit with your config untouched.
  • Use a Ghostty installation in your home folder. Run ghosttytheme --themes-dir "$HOME/Applications/Ghostty.app/Contents/Resources/ghostty/themes".
  • Use an alternate Ghostty config. Run ghosttytheme --config "$HOME/Library/Application Support/com.mitchellh.ghostty/config" if that’s the file Ghostty reads.

Troubleshooting

  • ghosttytheme: command not found. If you installed it in a virtual environment, activate that environment first. For a pipx install, run pipx ensurepath and open a new Ghostty tab.
  • No themes found or colors don’t preview. Run the picker directly in Ghostty on your Mac. A remote shell or terminal multiplexer can block the escape sequences used for previews. The picker looks in the app bundle and in $XDG_CONFIG_HOME/ghostty/themes (or ~/.config/ghostty/themes). If Ghostty is installed elsewhere, pass its theme directory with --themes-dir.
  • The saved theme doesn’t take effect. Press Cmd+Shift+, or use Ghostty’s Reload Configuration command. Check the config path printed by ghosttytheme. An included config file, a launch argument, or explicit color settings can override the chosen theme. Use --config to target the file that sets the effective theme. Use --no-reload when testing or editing a separate config. Ghostty configuration guide
  • A custom theme can’t be selected. Use a readable Ghostty theme file with color settings such as background = #1e1e2e. If the picker reports a filename problem, remove commas, colons, equal signs, and double quotes from its filename or the absolute path used with --themes-dir.

Screenshots

The picker displays sample terminal output to show how each theme colors text.

Browsing themes with Catppuccin Mocha highlighted

gtheme previewing Catppuccin Mocha with a sample diff, ANSI color swatches, and the theme list

Filtering by nord with Nord highlighted

gtheme previewing Nord with the theme list narrowed to names that match nord

License

MIT. See LICENSE.

Metadata

Release files for ghosttytheme 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghosttytheme 0.2.1
File Size Uploaded Provenance Actions
ghosttytheme-0.2.1.tar.gz 16.3 kB Without provenance Details for ghosttytheme-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ghosttytheme 0.2.1
File Interpreter ABI Platform Actions
ghosttytheme-0.2.1-py3-none-any.whl Python 3 none any Details for ghosttytheme-0.2.1-py3-none-any.whl

Total release size: 29.8 kB

Release files / ghosttytheme-0.2.1.tar.gz

Download URL ghosttytheme-0.2.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b845bbcc11fba945766aef068b8f78261e14b6f610139ebf7593dfc738e09b10
BLAKE2b-256 checksum
How to use checksums
d8e4953173d1bbda18419b4211d4125e3b687266341ceefb6265272ddeddf3fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ghosttytheme-0.2.1-py3-none-any.whl

Download URL ghosttytheme-0.2.1-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fadcf63502625a987d811793e35c0b4f8f506b12f8a445bab3293af377fc1e86
BLAKE2b-256 checksum
How to use checksums
cfd3520d6109c74a94b8ca8431234aa03a1f24efce27302011af04d604142eba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ghosttytheme 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page