Patching Berkeley Mono v2 with Nerd Font glyphs

/ Reading time: 3 minute/s

I love me a great font, and considering that I look at a text editor at least half of the time I'm in front of a computer every day (which is a lot!), I think it's worthwhile making sure I like what I'm looking at. Since the start of 2025, that font's been Berkeley Mono, which has recently just been updated to version 2.

Unfortunately, this one doesn't come with Nerd Font glyphs (like with other fonts that come with paid licenses), so I need to patch it myself. Not a problem, since there's a handy dandy Nerd Font patcher tool available. I've used it before, and having it available as a container makes it even easier to use.

If you're trying it yourself, this is the command I used to patch it. It should put in all icons available via Nerd Fonts. (Note that I did this with the semi-condensed version, which I kinda like best.)

docker run --rm \
  -v ./original:/in \
  -v ./patched:/out \
  nerdfonts/patcher \
  --complete \
  --single-width_glyphs \
  --adjust-line-height

This assumes my Berkeley Mono v2 font files are in the ./original directory, of course. Patched fonts will be put in the ./patched directory as well. Adjust these to your needs.