list-fonts command displays all fonts available to Ghostty using the same font discovery mechanism that Ghostty uses to find fonts for rendering.
Usage
Description
When executed with no arguments, this command lists all available fonts, sorted by family name, then font name. The output is grouped by font family for easier reading. If a family name is specified with--family, the sorting is disabled and results are shown in the same priority order Ghostty would use to pick a font. This is useful for debugging why your desired font may not be loading.
Options
Filter results to a specific font family. The family handling is identical to the
font-family configuration value, so this can be used to debug font loading issues.When specified, results are shown in the priority order Ghostty uses for font selection rather than alphabetically.Filter results based on the style string advertised by a font. Results matching this style are prioritized, but it’s not guaranteed that only matching styles are returned.
Filter results to bold styles. Matching styles are prioritized, but it’s not guaranteed that only bold styles are returned.
Filter results to italic styles. Matching styles are prioritized, but it’s not guaranteed that only italic styles are returned.
Display help information for this command.
Examples
List All Available Fonts
Check Font Loading Priority
Filter by Bold Style
Debug Font Configuration
Notes
If Ghostty was built without font discovery support, this command will display an error message indicating that font discovery is not available.
The
--family option uses the same matching logic as the font-family configuration option, making it perfect for debugging font loading issues in your config.