A bash utility for managing Nerd Fonts on macOS via Homebrew casks. Features both CLI (fzf) and GUI (macOS dialogs) interfaces.
Note: As of Homebrew 4.3.0, all font casks (previously in
homebrew/cask-fonts) are now part of the mainhomebrew/caskrepository. No additional tap is needed for fonts.
brew tap auge2u/uni-nerd-font https://github.com/auge2u/uni-nerd-font
brew install nerd-font-manager# Clone the repository
git clone https://github.com/auge2u/uni-nerd-font.git
cd uni-nerd-font
# Make executable (already set)
chmod +x nerd-font-manager.sh
# Optional: Add to PATH
ln -s "$(pwd)/nerd-font-manager.sh" /usr/local/bin/nerd-font-managerHomebrew installation automatically sets up completions. For manual installs:
Zsh - Add to ~/.zshrc:
fpath=(/path/to/uni-nerd-font/completions $fpath)
autoload -Uz compinit && compinitBash - Add to ~/.bashrc or ~/.bash_profile:
source /path/to/uni-nerd-font/completions/nerd-font-manager.bashFish - Copy to completions directory:
cp /path/to/uni-nerd-font/completions/nerd-font-manager.fish ~/.config/fish/completions/Then restart your shell or source the config file.
# CLI mode (default) - interactive fzf interface
./nerd-font-manager.sh
# GUI mode - macOS native dialogs
./nerd-font-manager.sh --gui
# Show version
./nerd-font-manager.sh --version
# List installed Nerd Fonts
./nerd-font-manager.sh --list-installed
# List available Nerd Fonts
./nerd-font-manager.sh --list-available
# Show help
./nerd-font-manager.sh --help- Install - Browse and install from 70+ available Nerd Fonts
- Uninstall - Remove installed Nerd Fonts
- Install favorites - Quick install 8 curated developer fonts
- Bulk update - Update all installed Nerd Fonts
Pre-configured popular fonts for developers:
- Fira Code
- JetBrains Mono
- Hack
- Iosevka
- Meslo LG
- Caskaydia Cove (Cascadia Code)
- Roboto Mono
- Sauce Code Pro (Source Code Pro)
- CLI mode: Real-time filtering as you type (fzf)
- GUI mode: Search dialog before font selection
[ALL]option to install/uninstall all fonts at once- Multi-select support (TAB in CLI, CMD+click in GUI)
All actions are logged to ~/.nerd-font-manager.log
MIT
