-
-
Save sanae10001/1ddd1fe191fe3d0041939c7b8a0066bc to your computer and use it in GitHub Desktop.
Brew install a specific version of a formula
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find the commit history of the desired software and version in github. e.g. "https://github.com/Homebrew/homebrew-core/commits/master/Formula/git.rb" | |
Click `raw` button, get raw url e.g. "https://raw.githubusercontent.com/Homebrew/homebrew-core/6f85b5c82436b2f8beb3c0fd64f36d6f466cf0f7/Formula/git.rb" | |
brew unlink `formula` e.g. "brew unlink git" | |
brew install `url` | |
You can use `brew switch` switch version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment