Never settle for the fonts that come with your system

You need
Better
Typefaces

Free Licence:

Code Fonts:

I personally use Hack which is a tweaked version of Plex Mono, part of IBM’s Plex typeface. Which is free, otherwise I’d be using Gintronic or Cartograph neither of which I can afford. I might do Drafting mono for $10.00.

Here is a great resource for previewing code fonts it lists just about everything: programming fonts

Curated lists:

Commercial

There are lots of small type houses out there run by designers. Support them if you can.