2017-09-19 12:17:27 +01:00
|
|
|
# port
|
|
|
|
|
2017-09-19 12:26:17 +01:00
|
|
|
> Package manager for macOS.
|
2022-02-14 03:43:29 +00:00
|
|
|
> More information: <https://www.macports.org>.
|
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
|
|
|
|
2023-08-26 18:30:06 +01:00
|
|
|
`sudo port install {{package}}`
|
2017-09-19 12:17:27 +01:00
|
|
|
|
|
|
|
- List installed packages:
|
|
|
|
|
|
|
|
`port installed`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Update port and fetch the 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`
|