Home­brew has intro­duced a great new fea­ture to keep a run­ning list of your most loved pack­ages, the Brewfile.

UPDATE: brew bun­dle was dep­re­cated and removed but there’s a new offi­cial replace­ment. Thanks to Mike McQuaid for the heads up!

Brew­file Example

# Make sure we’re using the latest Homebrew

# Upgrade any already-installed formulae

# Version Control
install git

# Install other useful binaries
install android-sdk

tap homebrew/versions

# Remove outdated versions from the cellar

Just save this as Brew­file, and you can run it via the bun­dle command.


brew bundle ~/Dropbox/dotFiles/Brewfile

There is the added ben­e­fit of sync­ing between mul­ti­ple machines. As you can see in the exam­ple above I store mine in Drop­box, so I can keep the same pack­ages updated on both my desk­top and lap­top. This also works great in a cus­tom dot­files setup.

Here is a link to my Brew­file to get you started. Cheers!

Beer Icon from The Noun Project