[Mac] Completely Uninstall Elasticsearch Installed with Homebrew
Tadashi Shigeoka · Tue, October 17, 2017
I’ll introduce the steps to completely uninstall Elasticsearch that was installed with Homebrew, the macOS package manager.
Stop & Uninstall Elasticsearch
First, stop the Elasticsearch process.
brew services stop elasticsearch@2.4
Next, uninstall Elasticsearch.
brew uninstall --force elasticsearch@2.4
Delete Elasticsearch Data & Log Files
Finally, completely delete the directories containing data and log files used by Elasticsearch.
rm -rf /usr/local/var/elasticsearch
rm -rf /usr/local/var/log/elasticsearch*
That’s all from the Gemba, where I want to manage Elasticsearch with Docker instead of Homebrew.