Skip to content

Instantly share code, notes, and snippets.

@dfrommi
Created October 18, 2020 12:10
Show Gist options
  • Select an option

  • Save dfrommi/e6f06afff59068cc0bbafda442b4e4ae to your computer and use it in GitHub Desktop.

Select an option

Save dfrommi/e6f06afff59068cc0bbafda442b4e4ae to your computer and use it in GitHub Desktop.
Homebrew Bundle in a Nutshell #tools

Homebrew Bundle in a Nutshell

Bundle is a tap (aka extension) to run several Homebrew commands in one go. The list of commands is read from a plain-text Brewfile.

It has support for

  • taps
  • packages
  • casks
  • Mac App Store
    • requires mas-cli to be installed, for example with brew install mas

A Brewfile can be created manually

tap 'caskroom/cask'
tap 'homebrew/bundle'
tap 'homebrew/core'
cask 'java'
brew 'ansible'
brew 'fish'
brew 'git'
cask 'alfred'
cask 'atom'
cask 'google-chrome'
mas 'Pixelmator', id: 407963104
mas 'Wunderlist', id: 410628904

Or the current list of installed taps, packages, casks and App Store software can be dumped with

brew bundle dump

Then you can

  • check if everything is installed: brew bundle check
  • install missing software: brew bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment