W3cubDocs

/Homebrew

Updating Software in Homebrew

Did you find something in Homebrew that wasn’t the latest version? You can help yourself and others by submitting a pull request to update the formula.

First, check the pull requests in the homebrew-core or linuxbrew-core repositories (whichever apply) to make sure there isn’t already an open PR. You may also want to look through closed pull requests for the formula, as sometimes formulae run into problems preventing them from being updated and it’s better to be aware of any issues before putting significant effort into an update.

The How To Open a Homebrew Pull Request documentation should explain most everything you need to know about the process of creating a PR for a version update. For simple formulae updates, this typically involves changing the URL and sha256.

However, some updates require additional changes to the formulae. You can look back at previous pull requests to see how others have handled things in the past but be sure to look at a variety of PRs. Sometimes formulae aren’t updated properly, so you may need to use your judgment to determine how to best proceed.

Once you’ve created the pull request in the appropriate Homebrew repository your commit(s) will be tested on our continuous integration servers, showing a green check mark if everything passed or a red X if there were failures. Maintainers will review your pull request and provide feedback about any changes that need to be made before it can be merged.

We appreciate your help in keeping Homebrew’s formulae up to date as new versions of software are released!

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/Updating-Software-in-Homebrew