Skip to content

Instantly share code, notes, and snippets.

@yagudaev
Created August 26, 2020 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yagudaev/dfd755d254e7a12b5ce90c1eb27c8408 to your computer and use it in GitHub Desktop.
Save yagudaev/dfd755d254e7a12b5ce90c1eb27c8408 to your computer and use it in GitHub Desktop.
Install a specific version of elastic search using Homebrew
brew tap elastic/tap
# picks a specific version
cd /usr/local/Homebrew/Library/Taps/elastic/homebrew-tap
git fetch --tags
git checkout tags/v7.2.0
cd -
HOMEBREW_NO_AUTO_UPDATE=1 brew install elastic/tap/elasticsearch-full
# starts elastic search as a service in the background
brew services start elastic/tap/elasticsearch-full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment