Skip to content

Instantly share code, notes, and snippets.

@matthewjberger
Last active April 28, 2026 02:38
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
Copy Markdown

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

@nscarlson
Copy link
Copy Markdown

Don't bother with any of these crazy scripts. Instructions in original post is all you need.

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