Brew & MacOS- How to install the Microsoft Fonts

 

  1. Install Cask

    Homebrew-Cask extends Homebrew and allows you to install large binary files via a command-line tool. You can for example install applications like Google Chrome, Dropbox, VLC and Spectacle. No more downloading .dmg files and dragging them to your Applications folder!

    Installation

    You need Homebrew on your system to use Cask, and you make Cask available by adding it as a tap:

    $ brew tap caskroom/cask
    

    To see if an app is available on Cask you can search on the official Cask website. You can also search in your terminal:

    $ brew cask search <package>

    Installation

    In order to install Cask, you need to make sure that you have Homebrew installed by using the following command in the Terminal App:

    brew doctor

    (If you haven’t installed Homebrew yet, you can follow our tutorial to help you with the process.)

    Once you’re confident that your machine has Homebrew installed, add Cask to your tap:

    brew tap caskroom/cask

    Now you’re free to install any app that’s available on Homebrew! Check out the list of apps on Homebrew’s website. For example, to install Firefox all you have to type in the Terminal is:

    brew cask install firefox

    You can also search available apps in your terminal:

    brew cask search <package>

    ‍(How to Install Apache, MySQL and PHP using Homebrew on macOS)

  2. Install Microsoft Office brew cask install microsoft-office
  3. Make a directory: mkdir ~/Library/Fonts/Microsoft
  4. Copy the fonts: cp -av /Applications/Microsoft\ Word.app/Contents/Resources/Fonts/* ~/Library/Fonts/Microsoft/
Brew & MacOS- How to install the Microsoft Fonts