From the repo:
"Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons). Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as Font Awesome ➶, Devicons ➶, Octicons ➶, and others."
Installing a font
Visit this repoopen in new window for an easy way to install nerd fonts.
- To to the pached fonts directoryopen in new window
- Copy the downloaded files to
mkdir -p ~/.local/share/fonts cd ~/.local/share/fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20Nerd%20Font%20Complete.otf
TTF vs OTF
OTF is a newer standard based on TTF, when given the option you should generally choose OTF.
Here open in new window is good article explaining the difference.
After installing your font, you will have to refresh your font cache by doing
fc-cache -f -v. Then you will have to change your terminal settings to use the font you just installed. Please refer to your terminal's documentation for changing the terminal font.