Last active
October 3, 2018 09:36
-
-
Save ro-tex/28b7f1d8e736c98683459993c65ae97c to your computer and use it in GitHub Desktop.
This file contains 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
Installing an older version of a Homebrew package: | |
1. `git clone [email protected]:Homebrew/homebrew-core.git` | |
2. Go into homebrew-core/Formula and find your formula (e.g. kibana.rb) | |
3. `git log kibana.rb` | |
4. Find the id of the commit that creates or updates that version (for version 6.0.1 that is b7f9249c69beb918f322c165595f1a2d3b1a1608). | |
5. `brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/b7f9249c69beb918f322c165595f1a2d3b1a1608/Formula/kibana.rb` | |
6. Prevent it from being updated by calling `brew pin kibana`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment