-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Linux instructions
- Make sure that the
universe
(for Ubuntu) orcontrib
(for Debian) repository is enabled (see how-to for Ubuntu or Debian docs) - Install
fonts-firacode
package either by executingsudo apt install fonts-firacode
in the terminal or via GUI tool (like “Software Center”)
Fira Code package is available in the official repository: otf-fira-code.
Variant of Fira Code package is available in the AUR: otf-fira-code-git.
emerge -av media-fonts/fira-code
A Fedora copr repository is available. Package sources are available on Gitlab.
To install, perform the following commands:
dnf copr enable evana/fira-code-fonts
dnf install fira-code-fonts
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, 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
for type in Bold Light Medium Regular Retina; do
file_path="${HOME}/.local/share/fonts/FiraCode-${type}.ttf"
file_url="https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true"
if [ ! -e "${file_path}" ]; then
echo "wget -O $file_path $file_url"
wget -O "${file_path}" "${file_url}"
else
echo "Found existing file $file_path"
fi;
done
echo "fc-cache -f"
fc-cache -f
Fira 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