DEV Community

Erica Pisani
Erica Pisani

Posted on • Originally published at ericapisani.dev

How to install a Nerd Font on Warp

I started using Vim as my IDE of choice recently, and one of the things I wanted early on was a more visually appealing icon and font set.

I kept reading about Nerd Fonts so I decided to try installing one, but the instructions for doing so were both clear and yet missing some small details that meant that I wasn't able to get set up as quickly as I would've expected.

So here are the literal step-by-step instructions for installing a Nerd Font if you're using the Warp terminal and the Homebrew package manager:

Install Nerd Fonts via Homebrew

  • brew tap homebrew/cask-fonts
  • brew install --cask font-<FONT NAME>-nerd-font

Restart Warp

Restart the terminal and go to Warp > Settings > Appearance. There's a section called 'Text' and a dropdown labelled 'Terminal font'.

Your newly installed Nerd Font from the first step will appear in that list, so you just need to select it.

(If using Neovim/Vim) Restart Neovim/Vim

Once I restarted Neovim, the updated font, along with the associated icons, rendered correctly.

Top comments (2)

Collapse
 
jonesbeach profile image
Jones Beach

Nice! I haven't tried Warp yet but I added Nerd Fonts in my iTerm and Wezterm recently and they are fun. Did you have to tweak the font size at all? Some of the glyphs were bigger than the text characters on either side of it for me by default. Welcome to team Vim!

Collapse
 
ericapisani profile image
Erica Pisani

Thank you! ๐Ÿ˜„

Re: the font size - I didn't have to tweak it too much. I went up to size 14 (I think the default is 10 or 11?) and the size of glyphs in relation to the text characters didn't seem so out of proportion that I noticed anything.