Its been over a year since I installed Macports for Ruby. I want to uninstall but I can't remember if I was using for anything crucial. Can I get a nice list of ports that was directly installed?

  • Do you mean what did macports install - or do you want to also find the executables/scripts you built using macports?
    – mmmmmm
    Jul 6, 2015 at 16:18
  • I guess, "what did macports install?"
    – AshCooman
    Jul 6, 2015 at 17:39

1 Answer 1


Macports documents how to uninstall it

Uninstall the ports by

sudo port -fp uninstall installed

Then remove all the files

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 \

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .