DEV Community

Cover image for Fira Code - Font with programming ligatures 〽️
Jesús Mejías Leiva
Jesús Mejías Leiva

Posted on

Fira Code - Font with programming ligatures 〽️

Source

This article is based on the official Fira Code documentation on GitHub .

Installing

MacOS

In the downloaded TTF folder:

  1. Select all font files
  2. Right click and select Open (alternatively Open With Font Book)
  3. Select "Install Font"

or

Not officially supported, might install outdated version



brew tap homebrew/cask-fonts
brew cask install font-fira-code

Enter fullscreen mode Exit fullscreen mode




Linux

or

  • In the ttf folder double-click each font file and click “Install font”; see “Manual Installation” if double-clicking doesn't work

FreeBSD

  • Using pkg(8): pkg install firacode

or

  • Using ports: cd /usr/ports/x11-fonts/firacode && make install clean

Windows

  • In the ttf folder, double-click each font file, click “Install font”; to install all at once, select all files, right-click, and choose “Install”

or

Run as administrator



scoop bucket add nerd-fonts
scoop install FiraCode

Enter fullscreen mode Exit fullscreen mode




How to enable ligatures

You need to explicitly enable ligatures support in following editors:

For other editors it must be enough to simply select Fira Code as your font of choice. Full list of supported editors

Example in VSCode

Alt Text

All ligatures included

Alt Text

Thanks for reading me. 😊

Top comments (0)