Bundling from Brewfiles
If you’ve used the default name of Brewfile, you can run the brew bundle command in that directory.
brew bundleAnd if you want to bundle from a specific file, use the --file flag.
brew bundle --file=~/.dotfiles/Brewfile