-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Linux instructions
Starting from v5, Fira Code does not distribute OTF. All packages here that have otf-* in the name are now outdated and should be replaced with ttf equivalents.
- Make sure that the
universe(for Ubuntu) orcontrib(for Debian) repository is enabled (see how-to for Ubuntu or Debian docs) - Install
fonts-firacodepackage either by executingsudo apt install fonts-firacodein the terminal or via GUI tool (like “Software Center”)
Fira Code package is available in the official repository: ttf-fira-code.
Variant of Fira Code package is available in the AUR: otf-fira-code-git.
emerge -av media-fonts/fira-codeFira Code package is available in the official repository.
To install, perform the following command:
dnf install fira-code-fontssudo eopkg install font-firacode-ttfxbps-install font-firacodeWith most desktop-oriented distributions, double-clicking each font file in the ttf folder and selecting “Install font” should be enough. If it isn’t, create and run download_and_install.sh script:
#!/usr/bin/env bash
fonts_dir="${HOME}/.local/share/fonts"
if [ ! -d "${fonts_dir}" ]; then
echo "mkdir -p $fonts_dir"
mkdir -p "${fonts_dir}"
else
echo "Found fonts dir $fonts_dir"
fi
version=5.2
zip=Fira_Code_v${version}.zip
curl --fail --location --show-error https://github.com/tonsky/FiraCode/releases/download/${version}/${zip} --output ${zip}
unzip -o -q -d ${fonts_dir} ${zip}
rm ${zip}
echo "fc-cache -f"
fc-cache -fFira Code 💻 – Home – Wiki – Issues – Suggestions
Enabling: Atom | VS Code | IntelliJ | BBEdit | Brackets | Emacs | GoormIDE | Cloud9 | MacVim | Notepad++ | RStudio | Sublime Text | Visual Studio | MATLAB
Troubleshooting
Stylistic sets
Language Coverage
OSes/Tools: Linux | Chrome devtools | LaTeX | Chrome OS terminal