How to setup Nerd Fonts in Windows

This tutorial will show you how you can customize your terminal or code editor by adding great fonts that will suit a wide range of us geeks.

How to setup Nerd Fonts in Windows

If there is one thing we can all agree on, we spend a lot of time on our terminal and code editors.

To some of us, these tools are the breathing parts of our lives; that's an exaggeration. However, they play an essential role in our tasks.

That is why it is essential to customize your terminal window or code editor to the way you find most comfortable and productive.

Let's dive in, shall we?

What are Nerd Fonts?

The main question you might be asking is, what are nerd fonts?

Apart from the name, NerdFonts is a free and open-source project developed to create patched fonts, including; ng features that are missing from typical fonts. It allows you to include a wide range of glyphs and icons in your fonts.

Using NerdFonts, you can get awesome icons and glyphs that are easy to interpret and read for monospaced text.

Install Nerd Fonts in Windows

The Nerd Fonts project provides a wide collection of popular monospaced fonts for various systems.

You can check various fonts and how they look in the resource below:

https://www.nerdfonts.com/

To install a NerdFont, open your command prompt and run the command

git clone --filter=blob:none --sparse git@github.com:ryanoasis/nerd-fonts

The command will clone the NerdFonts repository allowing you to install the fonts you wish.

If you are facing permission denied error when cloning the repository, you can use the HTTPS version as shown in the link below:

git clone --filter=blob:none --sparse https://github.com/ryanoasis/nerd-fonts.git

If you do not wish to clone the repository, you can navigate into the releases page and download the source code zip.

Install a Single Font

In most cases, you do not want the entire Nerd Fonts collection. To install a specific font, navigate into the NerdFonts folder:

cd nerd-fonts

Next, run the installer script with the name of the font you wish to install.

For example, to install the Fira Code Nerd Font, we can run the script:

./install FiraCode

Ensure you are in the NerdFonts folder and the patched-fonts folder exists.

To install the NerdFonts collection, run the command:

./install

The command above will install all the fonts in the patched folder.

NOTE: The Nerd fonts collection is quite massive and may consume a large disk space. Use cautiously.

Conclusion

This was a short tutorial discussing how you can install Nerd Fonts in your Windows machine in easy steps.

Hope you enjoyed that article, please share and leave a comment down below.

If you enjoy our content, please consider buying us a coffee to support our work:

Table of Contents
Great! Next, complete checkout for full access to GeekBits.
Welcome back! You've successfully signed in.
You've successfully subscribed to GeekBits.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info has been updated.
Your billing was not updated.