Skip to content

Instantly share code, notes, and snippets.

@avalonalex
Last active August 31, 2025 09:34
Show Gist options
  • Select an option

  • Save avalonalex/8125197 to your computer and use it in GitHub Desktop.

Select an option

Save avalonalex/8125197 to your computer and use it in GitHub Desktop.
# Thanks to this post:
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x
$ brew install cabextract
$ cd ~/Downloads
$ mkdir consolas
$ cd consolas
$ curl -O http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe
$ cabextract PowerPointViewer.exe
$ cabextract ppviewer.cab
$ open CONSOLA*.TTF
@manmorjim
Copy link

Thank you!

@RishiSadhir
Copy link

Thank you.

@KevinMcSun
Copy link

Thanks a lot.

@burning-croissant
Copy link

Thank you

@russellbrewer
Copy link

russellbrewer commented May 10, 2018

Does not work as of May 10th 2018.

I was able to find it here: http://www.fontpalace.com/font-download/Consolas/

@adriaandotcom
Copy link

I get this error:

~/Downloads/consolas $ cabextract PowerPointViewer.exe
PowerPointViewer.exe: no valid cabinets found

@wzup
Copy link

wzup commented Jun 17, 2018

Doesn't work!
Error

PowerPointViewer.exe: no valid cabinets found

@DemoCrazer
Copy link

The link doesn't work anymore.

@byshen
Copy link

byshen commented Aug 27, 2018

me too. seems ms changed the .exe file

Copy link

ghost commented Sep 11, 2018

Thank you! (Downloaded PowerPointViewer.exe with font version 5.22 from ccm.net.)

@microdog
Copy link

$ curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe

@sangdo-lee
Copy link

👍

@frankcorneliusmartin
Copy link

$ curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe

Thanks, that worked!

Copy link

ghost commented Dec 1, 2018

Really helpful.

@fuying-wang
Copy link

$ curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe

Thank you very much! That worked!

@boscage
Copy link

boscage commented Jan 12, 2019

@flyz1360
Copy link

$ curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe

That's amazing!

@ziposcar
Copy link

ziposcar commented Apr 1, 2019

$ curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe

This worked! Awesome!

@MarcelArthur
Copy link

@louisgzli
Copy link

@latenitefilms
Copy link

Thanks heaps!!

@yakovlevkm
Copy link

Thank you!

@renchenglong2015
Copy link

@github4marco
Copy link

awesome

@explooosion
Copy link

$ curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe

thanks

@RyanZheng1
Copy link

@roeniss
Copy link

roeniss commented May 10, 2020

I'd rather download ver 5.22 consolas by searching "consola 5.22" because it's easy than install/uninstall cabextract and remove other residue.

Copy link

ghost commented Apr 8, 2021

Thank you!

@chengkangzai
Copy link

Fantastic ! Thanks

@zhangzhe-inc
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment