1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages.zh/osx/port.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

420 B

port

macOS 包管理器软件(类似 brew).

  • 搜索包:

port search {{搜索的包名}}

  • 安装软件包:

sudo port install {{报名}}

  • 列出已安装的软件包:

port installed

  • 更新 port 自身,并获取可用包的最新列表:

sudo port selfupdate

  • 升级过时的软件包:

sudo port upgrade outdated

  • 删除已安装的软件包的旧版本:

sudo port uninstall inactive