Create port.md

Proposed page for mac ports port cli.
This commit is contained in:
personalnadir
2017-09-19 12:17:27 +01:00
committed by GitHub
parent cd31c69479
commit 9b5cd5d4fb

27
pages/osx/port.md Normal file
View File

@@ -0,0 +1,27 @@
# 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`