mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-25 05:10:19 +00:00
13 lines
378 B
Bash
Executable file
13 lines
378 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
|