Skip to content

Instantly share code, notes, and snippets.

@matthewjberger
Last active December 29, 2025 22:23
Show Gist options
  • Select an option

  • Save matthewjberger/7dd7e079f282f8138a9dc3b045ebefa0 to your computer and use it in GitHub Desktop.

Select an option

Save matthewjberger/7dd7e079f282f8138a9dc3b045ebefa0 to your computer and use it in GitHub Desktop.
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@kodejeet
Copy link

worked for me if someone is on the new TLS ubuntu

mkdir -p ~/.local/share/fonts
cd /tmp
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/FiraCode.zip
unzip FiraCode.zip -d ~/.local/share/fonts
fc-cache -fv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment