Cleaning off packages installed via Terminal on OSX
I can only speak for Homebrew but I would imagine the other utilities you used should have similar options. With Homebrew you can list everything installed by Homebrew with brew list. After this you can remove installed applications using brew remove &lt;application-name&gt;. Homebrew should have installed everything in /usr/local/Cellar/. I would recommend checking out the official FAQ to learn how to uninstall Homebrew altogether. I know this doesn't cover all of the tools you used but I hope it helps at least a little bit.