Homebrew Bundle Extensions adds command extensions to Homebrew that allow for easy modification of brew bundles.
Install Homebrew first if it isn't already installed, then run:
brew tap superatomic/bundle-extensionsAlternatively, you can add homebrew-bundle-extensions to your Brewfile by adding this line:
tap "superatomic/bundle-extensions"-
brew add [FORMULA/CASK...]Intelligently adds one or more provided formulae and/or casks to a
Brewfile.You can specify multiple formulae and casks at once, just like the
brew installcommand.To use single quotes instead of double quotes for Brewfile lines (e.g.
brew 'bat'instead ofbrew "bat"), set the environment variableHOMEBREW_BUNDLE_QUOTE_TYPEto the valuesingle.To add a descriptive comment above each line (like
brew bundle dump --describe), use the--describeoption. This is enabled by default if the environment variableHOMEBREW_BUNDLE_DUMP_DESCRIBEis set. -
brew drop [FORMULA/CASK...]Removes one or more provided formulae and/or casks from a
Brewfile.You can specify multiple formulae and casks at once, just like the
brew uninstallcommand. -
brew fileOpens the
Brewfilein the default editor (respects the chosen homebrew editor).Configure by setting
$HOMEBREW_EDITORor$EDITOR. -
brew viewDisplays the
Brewfile. Usesbatinstead ofcatif$HOMEBREW_BATis set.
All commands support specifying a Brewfile's location using --file, --global,
or by setting the $HOMEBREW_BUNDLE_FILE environment variable.
This project is duel-licensed under the BSD 2-Clause "Simplified" License and the MIT License.