From: AJ ONeal Date: Sat, 11 Jul 2020 06:32:32 +0000 (-0600) Subject: add uninstall instructions X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=f019b868f0f825a2f2dccd72b85be73d72bf7c04;p=webi-installers%2F.git add uninstall instructions --- diff --git a/brew/README.md b/brew/README.md index 075d6b2..aee91d4 100644 --- a/brew/README.md +++ b/brew/README.md @@ -38,3 +38,20 @@ brew cask install docker /usr/local/Cellar/ /opt/homebrew-cask/Caskroom/ ``` + +### `brew` screwed up everything, now what? + +Sometimes you're compelled against all reason to do something really stupid, +like `brew upgrade` or `brew update python`, and your whole system gets borked. + +For _Mojave_, _Catalina_, _Big Sur_, and above: + +```bash +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)" +``` + +For _High Sierra_ and below: + +```bash +/bin/bash -c ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" +```