Before you start

A Brewfile records desired dependencies for Homebrew Bundle. Review the generated file before sharing because it can reveal the tools and applications you use.

Steps

On another Mac, inspect the file and run brew bundle check first. Installing from a Brewfile can make changes to that Mac, so review the entries before using brew bundle install.

brew bundle dump --file=./Brewfile
brew bundle check --file=./Brewfile

Using Casklane

Casklane shows your Homebrew library and package details in a native Mac interface. Review the package and operation output before confirming a change. Homebrew itself still performs package operations.

Sources and further reading