This project helps you easily download, install, and list high-quality Nerd Fonts for coding. Only the best mono fonts are included, with a preference for OpenType (.otf
) files when available.
NOTE: If you just want to install some Nerd Fonts
use Embelish
Install with:
flatpak install flathub io.github.getnf.embellish
- Easy Installation: Download and install only the mono font files you want.
- Clean Setup: Installs fonts to your user fonts directory (
~/.local/share/fonts/
), keeping your system tidy. - Smart Selection: Prefers
.otf
over.ttf
files for better compatibility and quality. - Font Listing: List installed mono fonts in a clean, markdown-formatted table.
- Filter & Search: Quickly filter fonts by name or show all details.
- Find a glyph: Find a glyph by name
There is 2 tools nerd-tool
and list-fonts
.
This is the main tool
$ ./nerd-tool --help
This script helps managing Nerd fonts.
Usage: ./nerd-tool [command] [options]
Commands:
menu Displays the main interactive menu.
install Initiates an installation using 'fonts.txt' by default.
Options for 'install' command:
-f, --file <filename> Specify a custom file for installation.
Other options:
-h, --help Displays this help message
Run the install script to download and install all fonts listed in fonts.txt
or any file specified with -f
:
./nerd-tool install [-f ./fonts.txt]
Fonts will be downloaded to the fonts/
directory and installed to ~/.local/share/fonts/<FontName>
.
The primary use case is to automate a new install.
When you run:
./nerd-tool
You'll see an interactive menu (powered by gum) that lets you:
-
font-config: Many fonts in the system now have nerd symbols
-
list-xx: List Nerd Only fonts
Notice that have installed both
Ubuntu
andUbuntu Nerd font
. If we install thefont-config
rules the 2nd is not need it.
Use the arrow keys to navigate and follow on-screen prompts to complete actions.
This tool help you locate font files. It'a a fancy replacement for fc-list
./list-mono-fonts
./list-mono-fonts --all
./list-mono-fonts --filter Fira
Fonts are distributed under their respective licenses. Scripts in this repo are GPL3 Licence licensed.
Happy coding with beautiful fonts!