Create port.md
Proposed page for mac ports port cli.
This commit is contained in:
27
pages/osx/port.md
Normal file
27
pages/osx/port.md
Normal 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`
|
Reference in New Issue
Block a user