Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Homebrew Bundle | 4,414 | a day ago | 3 | mit | Ruby | |||||
📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store. | ||||||||||
Hyperapp Todo Parcel | 12 | 3 years ago | CSS | |||||||
Ofa Ruby | 5 | 10 years ago | 4 | March 03, 2013 | Ruby | |||||
Ruby binding to libofa | ||||||||||
Tap_dance | 1 | 10 years ago | mit | Ruby | ||||||
Manage your OSX binaries on a per project and system basis. Powered by Homebrew, inspired by Bundler. |
Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask, Mac App Store and Whalebrew.
Homebrew (on macOS or Linux) for installing dependencies.
Homebrew Cask is optional and used for installing Mac applications.
mas-cli is optional and used for installing Mac App Store applications.
Whalebrew is optional and used for installing Whalebrew images.
brew bundle
is automatically installed when first run.
See the brew bundle
section of the brew generate-man-completions
output or brew bundle --help
.
An example Brewfile
:
# 'brew tap'
tap "homebrew/cask"
# 'brew tap' with custom Git URL
tap "user/tap-repo", "https://[email protected]/user/homebrew-tap-repo.git"
# 'brew tap' with arguments
tap "user/tap-repo", "https://[email protected]/user/homebrew-tap-repo.git", force_auto_update: true
# set arguments for all 'brew install --cask' commands
cask_args appdir: "~/Applications", require_sha: true
# 'brew install'
brew "imagemagick"
# 'brew install --with-rmtp', 'brew services restart' on version changes
brew "denji/nginx/nginx-full", args: ["with-rmtp"], restart_service: :changed
# 'brew install', always 'brew services restart', 'brew link', 'brew unlink mysql' (if it is installed)
brew "[email protected]", restart_service: true, link: true, conflicts_with: ["mysql"]
# install only on specified OS
brew "gnupg" if OS.mac?
brew "glibc" if OS.linux?
# 'brew install --cask'
cask "google-chrome"
# 'brew install --cask --appdir=~/my-apps/Applications'
cask "firefox", args: { appdir: "~/my-apps/Applications" }
# bypass Gatekeeper protections (NOT RECOMMENDED)
cask "firefox", args: { no_quarantine: true }
# always upgrade auto-updated or unversioned cask to latest version even if already installed
cask "opera", greedy: true
# 'brew install --cask' only if '/usr/libexec/java_home --failfast' fails
cask "java" unless system "/usr/libexec/java_home --failfast"
# 'mas install'
mas "1Password", id: 443987910
# 'whalebrew install'
whalebrew "whalebrew/wget"
Homebrew is a rolling release package manager so it does not support installing arbitrary older versions of software.
If your software needs specific pinned versions, consider whalebrew
lines in your Brewfile
to install Docker containers.
After a successful brew bundle
run, it creates a Brewfile.lock.json
to record the environment. If a future brew bundle
run fails, you can check the differences between Brewfile.lock.json
to debug. As it can contain local environment information that varies between systems, it's not worth committing to version control on multi-user repositories.
Disable generation of the Brewfile.lock.json
file by setting the environment variable with export HOMEBREW_BUNDLE_NO_LOCK=1
or by using the command-line argument brew bundle --no-lock
.
Tests can be run with bundle install && bundle exec rspec
.
Copyright (c) Homebrew maintainers and Andrew Nesbitt. See LICENSE for details.