2017-09-19 12:17:27 +01:00
|
|
|
# port
|
|
|
|
|
2017-09-19 12:26:17 +01:00
|
|
|
> Package manager for macOS.
|
2017-09-19 12:17:27 +01:00
|
|
|
|
2017-09-20 11:02:57 +01:00
|
|
|
- Search for a package:
|
2017-09-19 12:17:27 +01:00
|
|
|
|
|
|
|
`port search {{search_term}}`
|
|
|
|
|
2017-09-20 11:02:57 +01:00
|
|
|
- Install a package:
|
2017-09-19 12:17:27 +01:00
|
|
|
|
|
|
|
`sudo port install {{package_name}}`
|
|
|
|
|
|
|
|
- List installed packages:
|
|
|
|
|
|
|
|
`port installed`
|
|
|
|
|
2017-09-20 11:02:57 +01:00
|
|
|
- Update port and fetch latest list of available packages:
|
2017-09-19 12:17:27 +01:00
|
|
|
|
|
|
|
`sudo port selfupdate`
|
|
|
|
|
|
|
|
- Upgrade outdated packages:
|
|
|
|
|
|
|
|
`sudo port upgrade outdated`
|
|
|
|
|
2017-10-06 09:11:50 +01:00
|
|
|
- Remove old versions of installed packages:
|
2017-09-19 12:17:27 +01:00
|
|
|
|
|
|
|
`sudo port uninstall inactive`
|