mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-31 05:55:30 +02:00
port: add page (#1499)
This commit is contained in:
commit
5291f5371c
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
|
||||
|
||||
> Package manager for macOS.
|
||||
|
||||
- Search for a package:
|
||||
|
||||
`port search {{search_term}}`
|
||||
|
||||
- Install a package:
|
||||
|
||||
`sudo port install {{package_name}}`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`port installed`
|
||||
|
||||
- Update port and fetch latest list of available packages:
|
||||
|
||||
`sudo port selfupdate`
|
||||
|
||||
- Upgrade outdated packages:
|
||||
|
||||
`sudo port upgrade outdated`
|
||||
|
||||
- Remove old versions of installed packages:
|
||||
|
||||
`sudo port uninstall inactive`
|
Loading…
Add table
Reference in a new issue