20 Apr 13, 2017

How to use Apple’s SF Mono font in your editor

At WWDC 2016, Apple unveiled a brand new font which was called San Francisco. The font went on to become the default font in macOS and iOS, replacing Helvetica (which replaced Lucida Sans). On watchOS, a special Compact variant of San Francisco, was used.

Later, Apple introduced yet another variant, a monospaced variant, which I think simply looks fantastic – especially on a high-resolution display like the MacBook. It has gone and replaced my previous favourite monospace font, Anonymous Pro.

Weirdly enough, the fonts are not available for selection in macOS, you just can’t use San Francisco for editing a document in Pages, for example.

Currently, though, the standard and Compact versions of San Francisco is available on Apple’s developer portal, but unfortunately the monospaced version is not.

Fortunately, if you have macOS Sierra, the version is included inside the Terminal.app in macOS.

Here’s how you extract the font from Terminal.app and install it on your computer so you can use it in your text editor, for example:

  1. Go to Terminal.app’s resources folder:
    1. Right click the Finder icon in the Dock
    2. Click ‘Go to Folder…’
    3. Enter this path: /Applications/Utilities/Terminal.app/Contents/Resources/Fonts
    4. Click Go
  2. You’ll see a list of fonts in the folder.
    1. Select all of the fonts in the folder.
    2. Right click on them and click ‘Open’
  3. A window will pop-up previewing the font. Click Install Font.
  4. You’ll perhaps get a window that says there’s problems with the fonts. I did too.
    1. Go ahead and click ‘Select all fonts’
    2. Click ‘Install Checked’
    3. You’ll get another dialog
    4. Click ‘Install’
  5. Font Book will show the new font as installed. You’ll now be able to select the SF Mono font in your editor. 🎉

Here’s a GIF of the whole process:

20 Responses to “How to use Apple’s SF Mono font in your editor”

  1. Ryan says:

    Thanks Simon! I found SF Mono in my Terminal this morning, liked it, and your tutorial helped me to use it in MacVim. Appreciate it.

  2. Austin says:

    Wow, thanks!

  3. george says:

    Thanks man, you helped me lots

  4. Suhaib Abdulghani says:

    You are the man!

  5. 4faramita says:

    Thank you so much!

  6. Xavi says:

    Thanks a lot!

  7. sushpa says:

    Note that on High Sierra 10.13 (and possibly other versions) you get “serious error” if you try to install the fonts directly from this folder. Copy the fonts to your desktop first and install from there.

  8. Ignacio says:

    `cp /Applications/Utilities/Terminal.app/Contents/Resources/Fonts/* ~/Library/Fonts`

    Done! :)

  9. Jeff says:

    Thanks for the tip. The SF fonts are designed for on-screen viewing so Apple hid them from you in any application where you could possibly print a document in the SF font.

  10. Nuno says:

    Thanks man, I wanted this for Android Studio. That Menlo font is too fat.

  11. Ivan says:

    I did the steps exactly as described, but at the end the fonts just don’t appear in the font book (or anywhere else)

  12. Ivan says:

    P.S. It works when installing from another folder, like sushpa user described.

  13. Bruce Norvell says:

    Upon installing the font, does it work with Microsoft Word for Mac 2016?

  14. Simon Fredsted says:

    Hi Bruce,

    I can confirm it works with Word for Mac.


  15. axxis says:

    Good job!

  16. Aaron says:

    Worked great.

    I used this reference for changing for Sublime Text 3 default font:


  17. Getting Apple’s SF Mono Font in macOS – XCBLOG says:

    […] to manually install it in order to get it for all other apps. Thank you so much, Simon, for sharing a blog about how to do this. Basically, it’s very easy to install it all over the […]

  18. Brad says:

    What is that Activity Monitor-style terminal process you’re running in the first image?

  19. Simon Fredsted says:

    That’s htop :)

  20. Brian says:

    Thank you!
    Nice font, may replace my long-time favorite, Menlo.

Leave a Comment

Note: Your comment will be shown after it has been approved.