In software development, you often manage all your dependencies through a package manager like NPM or NuGet. When it comes to software on our operating systems, we often break with this concept and install software from all various places like App Stores, Websites and more. Homebrew Bundle takes back control.
If you regularly install software on your Mac or Linux machine, that does not come via the official App Stores, you might be familiar with Homebrew, a package manager for operating systems. With the Homebrew Bundle extension, we can even define a list of all installed software in a
Generate a Brewfile
A good starting point is to dump all currently via Homebrew installed software into a new
brew bundle dump
Within such a
Brewfile, you can define a mix of application sources:
brewfor regular Homebrew command-line apps
caskfor desktop applications
masfor Apple App Store applications
Here is a (shortened) example of some my configuration.
Install all packages from a Brewfile
Homebrew Bundle works like every other package manager. To install the listed applications or bring them all to the latest version, you just call the following command.
brew bundle --file ~/my-folder/Brewfile
It's especially cool that you can now use that
Brewfile to setup a completely new machine with just a single command. Just make sure to backup your
I have put all my configuration files like this one within a private GitHub repository for example, which allows me to have version control on the Brewfile and can restore it from anywhere in the world.
☝️ Advertisement Block: I will buy myself a pizza every time I make enough money with these ads to do so. So please feed a hungry developer and consider disabling your Ad Blocker.