mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-22 11:53:08 +00:00
14 lines
378 B
Bash
14 lines
378 B
Bash
|
#!/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
|