1 - First download your font
For this tutorial I’m gonna use Hack Nerd Font, you can get it here: Nerd Fonts download
2 - Create .fonts directory
1
mkdir ~/.fonts
3 - Copy your fonts to .fonts directory
1
cp ~/Downloads/Hack.zip ~/.fonts/
4 - Unzip your fonts
1
unzip ~/.fonts/Hack.zip -d ~/.fonts/
5 - Delete unused files
1
2
3
rm -rf ~/.fonts/Hack.zip
rm -rf ~/.fonts/*.md
rm -rf ~/Downloads/Hack.zip
6 - Refresh fonts cache
1
fc-cache -fv