[macOS] Code Management of Homebrew Installations with Brewfile

Tadashi Shigeoka ·  Sat, July 16, 2022

I’ll introduce how to manage Homebrew installations with Brewfile code management on macOS.

Homebrew

Background: Want to Make PC Migration Easy with Brewfile

Since I purchased a new MacBook Pro, I decided to manage Homebrew installations with Brewfile code management to make PC migration easier.

I’ve made it public in a GitHub Public repository Brewfile, so please feel free to use it as a reference.

? Reference: Add my Brewfile by shige · Pull Request #1 · shige/oh-my-config

Brewfile Backup/Install

Backup Installed List to Brewfile

brew bundle dump --force

Batch Install from Brewfile

brew bundle 

That’s all from the Gemba, where I started managing Homebrew installations with Brewfile code management on macOS.