Easily install, manage, and remove Nerd Fonts directly from your terminal.
- Interactive font selection with fzf
- Install fonts from the official Nerd Fonts releases
- Uninstall fonts interactively or by name
- Works with
$XDG_DATA_HOME/fontsor~/.fonts - Distro/NixOS detection for missing dependencies
curl -fsSL https://raw.githubusercontent.com/ajmasia/nerdfonts-manager/main/install.sh | bashClone the repository and run directly:
git clone https://github.com/ajmasia/nerdfonts-manager.git
cd nerdfonts-manager
./nfm -hYou can install nfm directly via Nix flakes:
nix profile install github:ajmasia/nerdfonts-managerRun it immediately with:
nix run github:ajmasia/nerdfonts-manager -- -hTo update to the latest version:
nix profile upgrade github:ajmasia/nerdfonts-manager --no-write-lock-fileℹ️ If the new binary is not available right away, restart your shell or run:
source ~/.nix-profile/etc/profile.d/nix.sh
| Command | Description | Example |
|---|---|---|
nfm -h |
Show global help | nfm -h |
nfm -v, nfm --version |
Show current version | nfm --version |
nfm list |
List installed fonts | nfm list |
nfm install |
Interactive installation (select with fzf) |
nfm install |
nfm install <FONT...> |
Install one or more specific fonts | nfm install FiraCode Meslo |
nfm uninstall |
Interactive uninstall (select with fzf) |
nfm uninstall |
nfm uninstall <FONT...> |
Uninstall one or more specific fonts | nfm uninstall Meslo |
To remove Nerd Fonts Manager from your system:
curl -fsSL https://raw.githubusercontent.com/ajmasia/nerdfonts-manager/main/uninstall.sh | bashFor Nix users:
nix profile remove github:ajmasia/nerdfonts-managerThis project is licensed under the MIT License.