mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-22 03:43:06 +00:00
3e46828d30
* Run tests on Mac OS 14 and 15 * Update uninstall-homebrew.sh * Don't die on bad terminal defaults request. --------- Co-authored-by: Jeff Geerling <geerlingguy@mac.com>
14 lines
404 B
Bash
Executable file
14 lines
404 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Uninstalls Homebrew using the official uninstall script.
|
|
|
|
# Download and run the uninstall script.
|
|
curl -sLO https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh
|
|
chmod +x ./uninstall.sh
|
|
sudo ./uninstall.sh --force
|
|
|
|
# Clean up Homebrew directories.
|
|
sudo rm -rf /usr/local/Homebrew
|
|
sudo rm -rf /usr/local/Caskroom
|
|
sudo rm -rf /usr/local/bin/brew
|
|
sudo rm -rf /opt/homebrew
|