tldr/pages/osx/port.md

29 lines
473 B
Markdown
Raw Permalink Normal View History

# port
2017-09-19 12:26:17 +01:00
> Package manager for macOS.
> More information: <https://www.macports.org>.
- 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 the 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`