Abstract
Hello everyone it’s me candle. In this article, I will show you how to install and manage fonts of mac using brew-cask-fonts.
In general, font of mac is managed using an application called Font Book.
It is certainly convenient, but it takes a lot of time to install.
Anyway, the way of font distribution is not only Github, font is located in various places such as individual sites and DropBox. So, the procedure of introduction is often different for each fonts.
On the other hand, programmers are generally lazy people by a good meaning, so fonts installation will be honestly cumbersome.
That’s why I would like to introduce brew-cask-fonts. By tapping to brew, this will enable you to install and manage arbitrary fonts via brew.
Let’s try it.
Abstract
You already use brew command.
Tapping cask-fonts
Before management mac font using brew, you have to need to tap cask-fonts.
Cask-fonts was released by the brew official, so you can use it with confidence.
Run it.
brew tap homebrew/cask-fonts
ok!
Search font
Searching fonts is easy and you can do it the same way you search for software with brew. Let’s search Migu font.
brew search migu
All of fonts managed by brew-cask-fonts have a font-
prefix.
There are several Migu fonts, but the recommended one is Migu 1m font.
install font
After finding out it, let’s install it next time.
Install it below command.
brew cask install font-migu-1m
Check it mifu 1m font in FontBook app. Launch FontBook and check the “Migu 1M” font from “All Fonts”.
There is. It went well.
Show fonts installed by brew
As I wrote it before, since the font handled by brew-cask-fonts is prefixed with font -
, you can display a list of installed fonts from the following command.
brew cask list | grep "font-"
Uninstall font
This is also easy and can be uninstalled with the following command.
brew cask uninstall font-migu-1m
Conclusion
This is how to manage fonts with brew-cask-fonts. As I checked roughly, it seems like 1180 fonts are available in November 2018.