getnf - Get Nerd Fonts

June 19, 2026 ยท View on GitHub

getnf-logo

getnf - Get Nerd Fonts

getnf getnf getnf getnf getnf

Easily install Nerd Fonts from the terminal.

image

Supported Platforms

getnf is supported on macOS and Linux.

Requirements

  • curl
  • fzf (optional)

Install

Make sure that ~/.local/bin is in your PATH.

Install the latest version with:

curl -fsSL https://raw.githubusercontent.com/getnf/getnf/main/install.sh | bash

To pass options to the installer, use:

curl -fsSL https://raw.githubusercontent.com/getnf/getnf/main/install.sh | bash -s -- <options>

Installer options:

  • --tag=<tag>: Install a specific release, e.g. --tag=v0.3.0
  • --silent, -s: Suppress installation output

Examples:

curl -fsSL https://raw.githubusercontent.com/getnf/getnf/main/install.sh | bash -s -- --tag=v0.3.0
curl -fsSL https://raw.githubusercontent.com/getnf/getnf/main/install.sh | bash -s -- --silent
curl -fsSL https://raw.githubusercontent.com/getnf/getnf/main/install.sh | bash -s -- --tag=v0.3.0 --silent

Packages

getnf is available in following packages:

SourceNameHow to installNotes
AURgetnfparu -S getnfStable Arch package
AURgetnf-gitparu -S getnf-gitDevelopment version
Homebrewgetnf/getnfbrew install getnf/getnf/getnfmacOS / Homebrew users
Release assetsLatest releaseDownload .deb or .rpmDebian and RPM packages

Usage

Run getnf to show the font menu.

There are several flags available:

FlagDescription
-hShow the help message
-kKeep the downloaded font archives
-aInclude installed Nerd Fonts in the menu
-gInstall/Uninstall/List/Update Nerd Fonts for all users
-lList installed Nerd Fonts
-LList all available Nerd Fonts
-fSelect and install Nerd Fonts using fzf
-i <font>Directly install a specified Nerd Font
-i <name1>,<name2>,
-i "<name1> <name2>"
Directly install multiple Nerd Fonts
-u <font>Uninstall a specified Nerd Font
-u <name1>,<name2>,
-u "<name1> <name2>"
Uninstall multiple Nerd Fonts
-UUpdate all installed Nerd Fonts
-VPrint the current version of getnf

You can get the exact names of the fonts to use with -i and -u from getnf -L.

Enjoy!

Notes

In case you can't see newly installed fonts in your application, you may need to update the font cache with

fc-cache -f

Uninstall

To remove getnf without deleting the installed fonts, run

rm -rf ~/.local/bin/getnf ~/.local/share/getnf

You can also remove the font archive directory from your Downloads folder with

rm -rf "$(command -v xdg-user-dir >/dev/null && xdg-user-dir DOWNLOAD || printf '%s\n' "$HOME/Downloads")/getnf"