port: add Chinese translation

This commit is contained in:
wizarot 2019-03-13 11:31:24 +08:00 committed by Owen Voke
parent 1a5f1e9241
commit a395a42d43

27
pages.zh/osx/port.md Normal file
View File

@ -0,0 +1,27 @@
# port
> MacOS包管理器软件(类似brew).
- 搜索包:
`port search {{搜索的包名}}`
- 安装软件包:
`sudo port install {{报名}}`
- 列出已安装的软件包:
`port installed`
- 更新 port 自身,并获取可用包的最新列表:
`sudo port selfupdate`
- 升级过时的软件包:
`sudo port upgrade outdated`
- 删除已安装的软件包的旧版本:
`sudo port uninstall inactive`