mirror of https://github.com/CrimsonTome/tldr.git
28 lines
362 B
Markdown
28 lines
362 B
Markdown
# port
|
|
|
|
> macOS package manager
|
|
|
|
- Search for package:
|
|
|
|
`port search {{search_term}}`
|
|
|
|
- Install package:
|
|
|
|
`sudo port install {{package_name}}`
|
|
|
|
- List installed packages:
|
|
|
|
`port installed`
|
|
|
|
- Update ports tree:
|
|
|
|
`sudo port selfupdate`
|
|
|
|
- Upgrade outdated packages:
|
|
|
|
`sudo port upgrade outdated`
|
|
|
|
- Remove inactive port versions:
|
|
|
|
`sudo port uninstall inactive`
|