A tool to manage and download Nerd Fonts quickly
Table of content
- Easily manage a list of Nerd Fonts with corresponding version.
- Able to download multiple fonts at once.
- A progress bar!
- Download the latest binary from the Release page. It's the easiest way to get started with
ggnf
. - Give it execute permission.
$ chmod a+x ggnf
- Make sure to add the location of the binary to your
$PATH
. Or simply, put it to the right place:
$ sudo mv ggnf /usr/local/bin/ggnf
$ ggnf
ggnf is Nerd Font downloader written in Golang.
<https://github.com/ntk148v/ggnf>
Usage:
ggnf list - List all fonts
ggnf download <font1> <font2> ... - Download the given fonts
ggnf remove <font1> <font2> ... - Remove the given fonts
- GGNF will check for the Nerd Fonts latest release. It may take a few seconds (depend on your network).
$ ggnf list
# Output
...
},
"UbuntuMono": {
"name": "UbuntuMono",
"download_url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/UbuntuMono.zip",
"installed": "",
"latest": "v2.3.3"
},
"VictorMono": {
"name": "VictorMono",
"download_url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/VictorMono.zip",
"installed": "v2.3.3",
"latest": "v2.3.3"
},
"iA-Writer": {
"name": "iA-Writer",
"download_url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/iA-Writer.zip",
"installed": "v2.3.3",
"latest": "v2.3.3"
}
}
# If you feel this list is too long, use your Linux skill
$ ggnf list | less
-
By default,
ggnf
will download and save font to $FONT directory:- User:
$HOME/.local/share/fonts
- Root (run with root or
sudo
):/usr/local/share/fonts
- User:
-
Download new fonts:
$ ggnf download UbuntuMono Iosevka
Found new release: v2.3.3
Initializing GGNF for the first time ...
Downloading Iosevka 2% |██ | (17/653 MB, 640 kB/s) [36s:16m57s]
Downloading UbuntuMono (17 MB, 29 MB/s) [0s] | (15/653 MB, 751 kB/s) [32s:14m30s]
Feel free to file an issue or open a pull request. You're welcome!