Created
November 17, 2020 13:16
-
-
Save rsiddle/4bc440f058ccb81f81feb6a2351a2289 to your computer and use it in GitHub Desktop.
Remove Kibana from macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Adapted from https://gist.github.com/jkubacki/e2dd904bd648b0bd4554 | |
# checks to see if running | |
launchctl list | grep kibana | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.kibana.plist | |
launchctl remove homebrew.mxcl.kibana | |
pkill -f kibana | |
rm -f ~/Library/LaunchAgents/homebrew.mxcl.kibana.plist | |
brew uninstall kibana | |
# double check existence | |
ls -al /usr/local/bin/kibana* | |
ls -al ~/Library/LaunchAgents |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment