Search for available ports :
port -v search <port name>
e.g.
port -v search vim
Ports (or program) to install :
port -v install <port name>
e.g.
port -v install mysql
Check out what ports installed needed to be upgrade :
port -v outdated
e.g.
port -v outdated
Upgrade the outdated ports :
port -v upgrade installed
e.g.
port -v upgrade installed
Upgrade the list of ports with the latest on macports repository :
port -v selfupdate
e.g.
port -v selfupdate
port -v search <port name>
e.g.
port -v search vim
Ports (or program) to install :
port -v install <port name>
e.g.
port -v install mysql
Check out what ports installed needed to be upgrade :
port -v outdated
e.g.
port -v outdated
Upgrade the outdated ports :
port -v upgrade installed
e.g.
port -v upgrade installed
Upgrade the list of ports with the latest on macports repository :
port -v selfupdate
e.g.
port -v selfupdate