Hieu Nguyen

Cleanly remove elasticsearch on MacOS with homebrew

Dec 26 2019


Install elasticsearch without removing old version can cause issues when running. In order to prevent that, we can cleanly elasticsearch with:

brew uninstall elasticsearch
rm -rf /usr/local/etc/elasticsearch
rm -rf /usr/local/var/lib/elasticsearch