Today, I’d like to announce Homebrew 4.0.0. The most significant change since 3.6.0 enables significantly faster Homebrew-maintained tap updates by migrating from Git-cloned taps to JSON downloads.
Major changes and deprecations since 3.6.0:
- Using JSON files downloaded from formulae.brew.sh for package installation rather than local homebrew/core and homebrew/cask taps.
- Please note: this is the largest change we have made to our update process since we split Homebrew/brew and Homebrew/homebrew-core repositories. Please bear with us, there may be a few bumps.
- If you had previously set
HOMEBREW_AUTO_UPDATE_SECSto work around bugs or annoyances: please consider unsetting these and tweaking the values based on the new behaviour.
- Unless you are developing formulae or casks, you can
brew untap homebrew/coreand
brew untap homebrew/caskto save some space.
brew updatewill now be run automatically less often (every 24 hours rather than every 5 minutes) and these auto-updates will be much faster as they no longer need to perform the slow
git fetchof the huge homebrew/core and homebrew/cask taps’ Git repositories.
- This is now the default behaviour so the
HOMEBREW_INSTALL_FROM_APIvariable has been removed and is a no-op.
- If you wish to opt-out of this behaviour change, you can
export HOMEBREW_NO_INSTALL_FROM_API=1. Please investigate
- This behaviour is automatically disabled when using certain commands or in configurations that mostly build from source.
HOMEBREW_API_DOMAINcan be set to use mirrors for formulae.brew.sh.
- Homebrew’s analytics are now sent both to Google Analytics and our new, self-hosted InfluxDB instance hosted in the EU.
- Our self-hosted InfluxDB instance does not store either anonymised IP addresses or an anonymised user token so it has additional privacy benefits over Google Analytics.
- If you had previously set
HOMEBREW_NO_ANALYTICSbecause you didn’t like Google Analytics and/or data being sent to the USA: please consider unsetting this and setting
HOMEBREW_NO_GOOGLE_ANALYTICSinstead, allowing analytics data to be sent to our new InfluxDB host.
- We expect to migrate entirely from Google Analytics to our self-hosted InfluxDB instance in ~90 days at which point we will remove all Google Analytics and destroy all existing data.
.pkgfiles are generated for each Homebrew release. You can help us test this beta feature by downloading the generated package artifact from the relevant GitHub Actions release events.
homebrew/ubuntu16.04:masterimage has been deprecated.
- Various major release deprecations and disables.
Other changes since 3.6.0 I’d like to highlight are the following:
PYTHONDONTWRITEBYTECODEto improve performance.
- VSCode devcontainers are available in the Homebrew/brew repository for use with e.g. GitHub Codespaces.
brew install --adoptallows taking ownership of existing installed cask artifacts.
brew install --dry-runallows viewing what
brew installwill do before it is run.
brew docsopens docs.brew.sh.
--caskis never required on Linux.
service doblocks allow defining a
runcommand per platform.
brew installuses the local cache while installing dependencies from
brew doctorno longer complains about BitDefender.
brew installwill also suggest casks rather than just formulae when it fails to find the requested package.
brew readallsimulates all architecture and OS configurations for better reliability.
gitpartial clones with sparse checkouts are supported when downloading using
- GCC 12 is used for runtime libraries to match Ubuntu 22.04, where we build our bottles.
brew doctor --quietprints no output on success.
brew gist-logsbetter detects missing permissions.
brew updateuses the GitHub API token if available to avoid hitting rate limits.
- We have discontinued WSL 1 support and recommend WSL 2 instead.
brew installcan automatically determine mirrors for
glibc-bootstrapand PyPI resources.
- Homebrew is now on Mastodon: @firstname.lastname@example.org.
- Our governance documents have been updated as part of our AGM.
- We have switched from HackerOne to GitHub for vulnerability reporting.
- Homebrew accepts donations through GitHub Sponsors and still accepts donations through Patreon. If you can afford it, please consider donating. If you’d rather not use GitHub Sponsors or Patreon (our preferred donation methods), check out the other ways to donate in our README.
- Homebrew had our first stand at FOSDEM 2023 in which the Project Leader was forced to wear a stupid beer suit.
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far.