MacPorts

This is mainly for me for a quick cheat sheet. Pretty much self-explanatory but I will add a blurb anyway..

http://guide.macports.org/#using.common-tasks

1.) Update the ports tree.

sudo port -v selfupdate

2.) Show outdated ports.

sudo port outdated

3.) Upgrade the outdated ports. (Use “-d” to show more output “debug”)

sudo port upgrade outdated

4.) Search for a port.

sudo port search nmap

5.) Information about a port

sudo port info nmap

6.) A ports dependencies.

sudo port deps nmap

7.) Other variations of a port.

sudo port variants nmap

8.) Install a port.

sudo port install nmap

9.) Display installed ports.

port installed