Any tips for migrating my homebrew (/usr/opt/) setup to a new Mac with minimal pain?
Discussion
Create a ‘Brewfile’ with ‘brew bundle dump’
Store the file somewhere safe (flash drive for instance)
Once the computer is set up again, install Homebrew, copy the Brewfile back and run ‘brew bundle install --file /path/to/Brewfile’
And then there are the dot files.
I used homebrew bundle to setup a brewfile for everything installed on my laptop.
Then on new laptop I just ran a script that installed everything on my brewfile.
Here are some references I used:
Excellent. Thanks. How did you handle dot files?
It’s been a while since I migrated last but I believe I used thoughtbot’s RCM to manage my dotfiles and back them up in a git repo
Then just pulled them down from git and used rcm (installed from laptop script) to put them back in place
Fantastic. Thanks again. 🙌🏼