Last active
September 21, 2022 22:39
-
-
Save evgeniy-trebin/02fafdf03c18df4e03a4eaee1b939f11 to your computer and use it in GitHub Desktop.
How to install specific version of elasticsearch via brew
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
| brew tap homebrew/versions | |
| brew cask install java | |
| brew search elasticsearch | |
| brew install elasticsearch@2.3 | |
| brew services start elasticsearch@2.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the experiences of our company( big credit to our new college! ), the following should work:
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula git checkout 5874ac8c8fab69f8a714d643581e489bcb176d92 elasticsearch@5.6.rbIf you see the following error
Remove or comment this line( around line 15) from
elasticsearch@5.6.rb