-list-fonts command displays all monospace fonts available on your system that can be used with Termy.
Usage
What It Does
This command queries your system’s font library and returns a sorted list of monospace fonts suitable for terminal use.Platform-Specific Behavior
- macOS
- Linux
- Windows
Uses Core Text APIs to enumerate all installed font families with monospace characteristics.Returns all fonts from:
- System fonts (
/System/Library/Fonts/) - User fonts (
~/Library/Fonts/) - Third-party fonts
Example Output
Use Cases
Finding a Specific Font
Combine withgrep to search for fonts:
Checking Font Availability
Verify a font is installed before using it in your config:Saving Font List
Export the list for reference:Configuring Font in Termy
Once you’ve identified a font, set it in your configuration:The font name must match exactly as it appears in the
-list-fonts output. Font names are case-sensitive.Font Requirements
Termy displays monospace fonts that meet these criteria:- Fixed width: Every character has the same width
- Installed: Present in your system font directories
- Accessible: Readable by the current user
Popular Terminal Fonts
Here are some widely-used monospace fonts for terminals:| Font | Characteristics | Best For |
|---|---|---|
| JetBrains Mono | Ligatures, increased height | Coding, long sessions |
| Fira Code | Programming ligatures | Code readability |
| SF Mono (macOS) | Clean, modern | macOS users |
| Cascadia Code | Microsoft’s modern font | Windows users |
| Hack | High legibility | Small font sizes |
| Source Code Pro | Adobe’s open-source font | Professional coding |
| Menlo (macOS) | Default macOS terminal font | macOS defaults |
| DejaVu Sans Mono | Unicode coverage | Multi-language support |
Troubleshooting
No Fonts Listed
Linux: fc-list not found
Linux: fc-list not found
Install fontconfig:
Font doesn't appear after installation
Font doesn't appear after installation
Refresh your font cache:macOS: Restart Font Book or restart your systemLinux:Windows: Restart your system
Font Appears but Doesn’t Work in Termy
-
Verify exact font name (case-sensitive):
-
Check configuration syntax:
- Ensure the font is truly monospace
Related Commands
Show Config
View your current font setting
Edit Config
Update your font configuration
Interactive TUI
Browse fonts visually
Font Configuration
Font configuration reference