add uninstall instructions
authorAJ ONeal <coolaj86@gmail.com>
Sat, 11 Jul 2020 06:32:32 +0000 (00:32 -0600)
committerAJ ONeal <coolaj86@gmail.com>
Sat, 11 Jul 2020 06:32:32 +0000 (00:32 -0600)
brew/README.md

index 075d6b243137a64c18df1985a49e2ae2f9cedc80..aee91d4ecac5b539168bb656992b127cda4ed3cf 100644 (file)
@@ -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)"
+```