Skip to content

Instantly share code, notes, and snippets.

@urielm
Forked from monokrome/killPorts.sh
Created July 18, 2013 21:31
Show Gist options
  • Save urielm/6033278 to your computer and use it in GitHub Desktop.
Save urielm/6033278 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
sudo port -fp uninstall installed
sudo rm -rf \
/opt/local \
/Applications/DarwinPorts \
/Applications/MacPorts \
/Library/LaunchDaemons/org.macports.* \
/Library/Receipts/DarwinPorts*.pkg \
/Library/Receipts/MacPorts*.pkg \
/Library/StartupItems/DarwinPortsStartup \
/Library/Tcl/darwinports1.0 \
/Library/Tcl/macports1.0 \
~/.macports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment