https://github.com/Homebrew/homebrew-bundle
The bundle is automatically installed once it is used.
Brewfile
brew bundle dump
Run the cmd from the same folder of Brewfile
brew bundle
I would like to put it in my dotfiles. This one is mine