-
Notifications
You must be signed in to change notification settings - Fork 811
Installing Cascadia Code
You can download a zip containing the latest version of Cascadia Code from the releases page here: https://github.com/microsoft/cascadia-code/releases
The variants contained within are:
-
Cascadia Code
: standard version of Cascadia -
Cascadia Mono
: version of Cascadia that doesn't have ligatures -
Cascadia (Code|Mono) PL
: version of Cascadia that has embedded Powerline symbols
The download zip contains various file formats:
-
ttf variable
: we recommend this version for all users, particularly those on Windows or any other OS that employs TrueType hinting. It offers the greatest diversity of weight options (anything from 200-700). -
ttf static
: in the rare situation where the above variable font version is not supported, or a singular weight is preferred to the entire range, static formats are supplied. However, please note they do not have the same degree of hinting quality as the variable font versions. -
otf static
: for users who prefer OTF format fonts, otf static instances are provided. At this time we do not have a variable font OTF version. -
WOFF2
: These versions are provided for the purposes of web use, and are available both as variable fonts, and static instances.
Whichever format you prefer to install, we do not recommend installing more than one as it can cause naming issues within the OS.
Once unzipped, open the font file—this will open a new window displaying the characters included in the font along with the font displayed at different sizes. This window should have an "Install" button that will install the font on your machine when clicked.
👉 Note: If you have previously installed a version of Cascadia Code, please uninstall the previous version prior to installing a new version. Not doing so can result in improper rendering. Please see the double install page if you should run into issues
- Go to
File > Preferences > Settings
or hitCtrl + ,
in VS Code. - Enter "Font Face" in search field.
- Enter following in Font Face option:
'Cascadia Code', Consolas, 'Courier New', monospace
. - Enable
Font Ligatures
option available just below 'Font Face'. - Press
Enter
and you're good to go. - To customize weight, enter "Font Weight" in search field.
- Select, or type in, the desired font weight (the latest version of VS Code allows manual entry of any font weight).
Note: If you've installed font and it does not get applied in VS Code, try restarting VS Code.
- Go to
Tools > Options
in Visual Studio 2019. - Enter "Fonts and Colors" in search field or go to
Environment > Fonts and Colors
. - Select
Text Editor
inShow settings for:
. - In the
Fonts
Dropdown selectCascadia Code
. - Press
Ok
and you're good to go.
Note: If you've installed the font and it does not get applied in Visual Studio 2019, try restarting Visual Studio 2019.
- Go to the Dropdown
Preferences
or hitCtrl + ,
in Windows Terminal (Preview). - Open the
profiles.json
in an editor like VS Code. - Scroll down to the
"profiles"
Property. - Look for your desired profile.
- Change the
"fontFace"
attribute to"fontFace": "Cascadia Code"
.
- Go to the Dropdown
File > Settings
or hitCtrl + Alt + S
in IntelliJ IDE 2019. - Enter "Appearance" in search field or go to
Editor > Font
. - Select
Cascadia Code
in the Dropdown. - Select Enable Font Ligatures
- Press Ok and you're good to go.
Installation Via Chocolatey (unofficial, by zunderscore)
Chocolatey users can download and install the latest release of Cascadia Code or any of its variants via the following packages:
choco install cascadiacode
choco install cascadiamono
choco install cascadiacodepl
choco install cascadiamonopl
You can also upgrade to the latest version by running:
choco upgrade cascadiacode
choco upgrade cascadiamono
choco upgrade cascadiacodepl
choco upgrade cascadiamonopl
Or install all at once:
choco install cascadiafonts
If you have any issues installing/upgrading a package please go to that package's page (e.g. Cascadia Code) and follow the Chocolatey triage process.
Installation Via Scoop (unofficial, by sbatten)
Add the bucket
scoop bucket add nerd-fonts
Install the fonts
scoop install Cascadia-Code
scoop install Cascadia-Mono
scoop install Cascadia-PL
scoop install Cascadia-MonoPL
Update the fonts
scoop update Cascadia-Code
scoop update Cascadia-Mono
scoop update Cascadia-PL
scoop update Cascadia-MonoPL
If you set Cascadia Code PL to be your font for PowerLine, be sure to also set:
Set-PowerLinePrompt -PowerLineFont
This will tell PowerLine that you are using a compatible font (as in, it contains the required characters). By default, the code assumes fonts don't include the codepoints and instead uses the "Left Half Block" character.