Skip to content

Linux instructions

Johannes Huber edited this page May 27, 2018 · 36 revisions

Installing with a Package Manager

Ubuntu Zesty (17.04), Debian Stretch (9) or newer

  1. Make sure that the universe (for Ubuntu) or contrib (for Debian) repository is enabled (see how-to for Ubuntu or Debian docs)
  2. Install fonts-firacode package either by executing sudo apt install fonts-firacode in the terminal or via GUI tool (like “Software Center”)

Arch Linux

Several variants of Fira Code package is available in the AUR: otf-fira-code, ttf-fira-code, otf-fira-code-git.

Gentoo

emerge -av media-fonts/fira-code

Manual Installation

With most desktop-oriented distributions, double-clicking each font file in the ttf folder and selecting “Install font” should be enough. If it isn’t, try this:

  1. mkdir -p ~/.local/share/fonts

  2. touch download.sh

  3. # In download.sh
    for type in Bold Light Medium Regular Retina; do
        wget -O ~/.local/share/fonts/FiraCode-${type}.ttf \
        "https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true";
    done
  4. bash download.sh

  5. fc-cache -f

More details