[Mac] Completely Uninstall Elasticsearch Installed with Homebrew
I’ll introduce the steps to completely uninstall Elasticsearch that was installed with Homebrew, the macOS package manager.
First, stop the Elasticsearch process.
brew services stop [email protected]
Next, uninstall Elasticsearch.
brew uninstall --force [email protected]
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.