add uninstall instructions
[webi-installers/.git] / 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)"
+```