From f019b868f0f825a2f2dccd72b85be73d72bf7c04 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 11 Jul 2020 00:32:32 -0600 Subject: [PATCH] add uninstall instructions --- brew/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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)" +``` -- 2.25.1