brew-bundle
Bundler for Homebrew, Homebrew Cask, and the Mac App Store. tldr-pages
On several platforms
Several platforms
Install packages from a Brewfile at the current path
brew bundleIdentifyInstall packages from a specific Brewfile at a specific path
brew bundle --file path/to/fileIdentifyCreate a Brewfile from all installed packages
brew bundle dumpIdentifyUninstall all formulae not listed in the Brewfile
brew bundle cleanup --forceIdentifyCheck if there is anything to install or upgrade in the Brewfile
brew bundle checkIdentifyList all entries in the Brewfile
brew bundle list --allIdentify