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

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


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s