Skip to main content

Most common MacPorts commands I use.

# update Macports
# -v verbose output
sudo port -v selfupdate

# list of all installed ports
port installed

# list all outdated ports
port outdated

# Get information about a package
port info <portname>

# upgrade all outdated ports
# the "-v" flag following "port" will watch the compiler output (verbose)
sudo port -v upgrade outdated

# get information about a package
port info <portname>

# install a port without any extra features
sudo port install <portname>

# upgrade a particular port
sudo port upgrade <portname>