

If you have your dotfiles in git repository you’ve suddenly got a pretty portable setup. In a nutshell, Homebrew is an incredibly useful utility that allows you to install packages that your Mac (or Linux) system doesn’t have but that you need for your various project needs. If this is the case just edit the file and remove the formula that is no longer available. You might find that homebrew has removed some formulae since you installed it. Once you have the file on your new Mac and assuming you have homebrew setup you can install all of the software with a single command cat homebrew.txt | xargs brew install Now you can copy this to your new Mac by Airdrop if you are on the same network, scp or using a cloud service. brew listīy piping this into a file you can create a text file containing all of your installed software. So without further ado, let’s get started. Finally, we will show you how the steps to uninstall Homebrew from your Mac.
#Homebrew mac how to#
After that, we will show you how to uninstall any package from Homebrew. Likewise, the steps to update HomeBrew will also be discussed. On your old mac you can output a list of installed software from homebrew. Moreover, we will also show you the steps to download and install a package using Homebrew and update that package. Unless you have a spare afternoon to do this you can achieve the same things with a few commands and be done in minutes, leaving you to get on with something more interesting. If you don’t want to use Apple’s migration tool to copy over everything you might be faced with running brew install for everything you have installed. You are a homebrew user and you have a new Mac. Moving homebrew installs to a new Mac by George Ornbo:

Our siblings pebblecode posted a good article last week that’s relevant here too.
