mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 17:55:34 +02:00
Create port.md
Proposed page for mac ports port cli.
This commit is contained in:
parent
cd31c69479
commit
9b5cd5d4fb
1 changed files with 27 additions and 0 deletions
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`
|
Loading…
Add table
Reference in a new issue