MacPorts Commands

I use MacPorts to handle my installs of apache, php, etc. on my Mac. If you are using MacPorts on your Mac like I am, you may want to remember these handy codes to manage your MacPorts packages.

sudo port selfupdate

Update MacPorts to the latest version

port installed

List installed packages

sudo port upgrade outdated

Automatically upgrade outdated packages

With MacPorts, it really is that simple to install and then make sure you have the most current version. I love it, and I highly recommend it to everyone else.