Yeah! I pretty much use only Homebrew for installing fonts. So much so that I created a tap for myself to install non-free fonts I need when working with documents that actually use Calibri, Cambria, and other Microsoft Office fonts.
Can also just cp the ttf files into ~/Library/Fonts and avoid needing homebrew. or /Library/Fonts if you like putting stuff in system directories.
Ha! Sorry, I realized I had “only use” when I meant “use only”. I definitely use Homebrew for far more than fonts since I’m a maintainer of one of its components.
No worries, just noting fonts in macos don’t need any of this automation. I just copy font files around on a new system setup in a simple shell script.