Skip to content

Instantly share code, notes, and snippets.

@bhavsarpratik
Created August 20, 2020 03:37
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 bhavsarpratik/27d468630c3209582cbea058d560fbf9 to your computer and use it in GitHub Desktop.
Save bhavsarpratik/27d468630c3209582cbea058d560fbf9 to your computer and use it in GitHub Desktop.
# Remove old version
brew uninstall elasticsearch-full
rm -rf /usr/local/var/lib/elasticsearch/
rm -rf /usr/local/var/log/elasticsearch/elasticsearch_account.log
rm -rf /usr/local/var/elasticsearch/plugins/
rm -rf /usr/local/etc/elasticsearch/
brew uninstall kibana-full
rm -rf /usr/local/var/lib/kibana/
rm -rf /usr/local/var/kibana/plugins/
rm -rf /usr/local/etc/kibana/
# Install latest
brew tap elastic/tap
brew install elastic/tap/elasticsearch-full
brew install elastic/tap/kibana-full
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment