March 5

Save your eyes from eyestrain.

Best fonts for your terminal.

As developers, we stare at code all day. Making sure that code is presented in a legible and clear format is table of stakes for productive coding. What are some great monospaced fonts aimed at displaying code?

Victor Mono

This font comes with font ligatures as well as “semi-connected cursive italics”. Some developers prefer to customize their IDE’s to display comments in this cursive style as a way of differentiating the text from code.

Ubuntu Mono

Ubuntu Mono is a monospaced typeface commissioned by Canonical (creators of Ubuntu Linux) to complement the look and feel of their Linux distribution.

Inconsolata

Another free font with font ligatures designed for a great coding experience.

Fira Code

It’s incredibly easy to get started with and incorporate with VS Code, and includes some pretty sweet font ligatures!

Hack

This one is built by Source Foundry and the demo page does a wonderful job explaining its benefits.

Input

Input is only free for private use so you won’t be able to use it to style code blocks on your website, but it looks pretty great in your IDE.

Source Code Pro

Source Code Pro was designed “to work well in user interface (UI) environments”, and the designer also created a sans-serif companion font “Source Sans.”

Anonymous Pro

Anonymous Pro is designed as a coding font with a few specific improvements over others in mind: Characters that could be mistaken for each other like 0 (zero) vs O (capital O) are intentionally differentiated, and the font is built to work well down to very small sizes.

All fonts were chosen only if they were Monospaced and also were free to use on all types of systems.