Skip to content

Instantly share code, notes, and snippets.

@K4CZP3R
Created June 10, 2024 21:35
Show Gist options
  • Save K4CZP3R/6d64b3e1fdbd6979c3b61f669fb97219 to your computer and use it in GitHub Desktop.
Save K4CZP3R/6d64b3e1fdbd6979c3b61f669fb97219 to your computer and use it in GitHub Desktop.
How to install brew from different branch

How to install brew from different (work in progress) branch

When new macOS releases, there is a chance that brew will be broken. But there is also a chance that brew developers are already working on support for the new macOS version. To try the newest brew version without waiting for it to get into the stable branch you can do the following:

In this example, use feature branch for macOS 15 support

cd `brew --cellar`
git checkout macos-15
brew upgrade --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment