Microsoft has released a new font for command-line applications and code editors. The new and sleek monospaced font known as Cascadia Code was created hand-in-hand with the Windows Terminal. The name Cascadia Code is the remnant of the fact, that the Windows Terminal project codename was Cascadia before its release.
Surprisingly, Microsoft has released Cascadia Code under the SIL Open Font licence on GitHub. Thus, you can use the Cascadia Code font for personal or even for commercial purposes.
In this article, we are going to download the Windows Terminal font (Cascadia Code) and use it as a custom font in Terminal on Ubuntu systems.
Download and Install ‘Cascadia Code’ Font
Cascadia Code is available for anyone to download and use on its GitHub releases page. Look for the latest version of the font on the page, and under the ‘Assets’ section, click on the ‘CascadiaCode_*.zip’ file link to download the font.
After the CacadiaCode zip file is downloaded, right-click on it and click ‘Extract Here’ from the menu.
This option will extract the contents of the zip file in the new folder. The name of the folder will be the same as the zip file. Double-click on the folder to view the contents of it.
The contents of the zip file includes the Cascadia Code in three formats namely otf
(OpenType Fonts), ttf
(TrueType Fonts) and woff2
(Web Open Font Format).
You can choose to install otf
or ttf
format. We suggest installing the ttf
format of Cascadia Code. Double-click on ttf
folder, and you’ll see four different variations of Cascadia Code font.
We need to install the standard version of Cascadia Code, so double-click on the CascadiaCode.ttf
file.
A font application window will open showcasing the Cascadia Code font. Click on the ‘Install’ button to install the font.
The Cascadia Code (Windows Terminal font) is now installed on our Ubuntu 20.04 System. Thus, we can now move on to changing the font of Ubuntu Terminal.
Use Cascadia Code as Font for Ubuntu Terminal
To change the font used by Ubuntu Terminal we need to first open the Terminal. Go to the Ubuntu Applications menu then type terminal
in search bar and open it. Alternatively, you can use Ctrl+Alt+T
shortcut to open the Terminal.
Now that you have your Ubuntu Terminal running, you can change the font by altering the settings in preferences. Click on the ≡ button (triple bar button) besides the search button on the title bar. Then select the ‘Preferences’ option from the menu.
Inside the preferences window, look for profiles section in the side bar and click on your profile. The default Ubuntu terminal profile is named as ‘Unnamed’.
Click on ‘Custom font’ checkbox in Text tab under the Text Appearance section to enable custom fonts for your Terminal profile. Then, click on the Monospace Regular
tabular button.
A window titled Choose a Terminal Font
will open, type or paste Cascadia Code
in the search bar and select the ‘Cascadia Code Regular’ font from the available variations. Lastly, click the ‘Select’ button on the top-right corner of the window to save the selection.
Close the ‘Preferences’ window after selecting the Cascadia font as your custom font.
When you head back to the Ubuntu Terminal screen, you should see the Cascadia Code font in action.
We have installed Cascadia Code (Windows Terminal) font on an Ubuntu 20.04 system and set it as the custom font for Ubuntu Terminal. This same method can be used to set other fonts in the Ubuntu Terminal.
Member discussion