How to Install Nerd Fonts on macOS Using Homebrew

How to Install Nerd Fonts on macOS Using Homebrew

To install Iosevka nerd font:

brew tap homebrew/cask-fonts # you have to do this only once
brew install --cask font-iosevka-nerd-font

To install Fira Code nerd font:

brew install --cask font-fira-code-nerd-font

Visit homebrew-cask-fonts to find the list of nerd fonts.