Brewfile

Your setup in one file

Save everything you've installed to a Brewfile, and install it all again on another Mac.

Brewfile
tap "dakilloth/mead"
brew "git"
brew "jq"
brew "ripgrep"
cask "firefox"
cask "mead"
cask "visual-studio-code"
mas "Xcode", id: 497799835

Export

Save everything you have to a Brewfile (brew bundle dump). Keep it in a dotfiles repo or iCloud Drive.

Import

Install everything a Brewfile lists. That's your whole setup restored.

Check

See whether a Brewfile is satisfied, and everything it declares.

Clean up

Preview everything installed that isn't in the file, then remove it if you want an exact match.

New Mac

Moving to a new Mac

1

On your old Mac, export a Brewfile from mead's Maintenance page.

2

On the new one, install Homebrew and mead.

3

Import the Brewfile and watch it install.

Only import Brewfiles you trust

brew bundle runs a Brewfile as Ruby code. Use Check to see what one declares before you import it.

Install

Get mead

Free and open source. Needs Homebrew already installed. Apple Silicon and Intel.

brew tap DaKiLloTh/mead
brew install --cask mead