Skip to content

Commit

Permalink
port: add page (tldr-pages#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl authored Oct 6, 2017
2 parents a51871a + 522f778 commit 5291f53
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pages/osx/port.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 5291f53

Please sign in to comment.