tldr/pages/osx/port.md

421 B

port

Package manager for macOS.

  • Search for a package:

port search {{search_term}}

  • Install a package:

sudo port install {{package_name}}

  • List installed packages:

port installed

  • Update port and fetch latest list of available packages:

sudo port selfupdate

  • Upgrade outdated packages:

sudo port upgrade outdated

  • Remove old versions of installed packages:

sudo port uninstall inactive