Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active December 31, 2021 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plembo/41cfc67b3457b334fa1879380d80d629 to your computer and use it in GitHub Desktop.
Save plembo/41cfc67b3457b334fa1879380d80d629 to your computer and use it in GitHub Desktop.
Manually installing fonts on Linux and Windows

Manually installing fonts on Linux and Windows

Linux

Chris Simpkins. "How to Manually Install, Update and Uninstall Fonts on Linux". Source Words, 12 March 2018.

This will install the fonts for the logged in user and not globally.

Download your fonts. In the example below, they're the TrueType font files for FiraCode.

$ mkdir .local/share/fonts
$ mkdir -p .local/share/fonts/truetype/firacode
$ cp Fira*.ttf .local/share/fonts/truetype/firacode
$ fc-cache -f -v

Verify it worked:

$ fc-list | grep "Fira"

Windows

Installs the fonts for the logged on user.

Download your fonts.

Highlight the font files, right-click, and select "Install".

(this will install them under C:\Users[yourusername]\AppData\local\Microsoft\Windows\Fonts).

Voila!

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