tldr/pages.zh/common/brew-mas.md

28 lines
498 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# brew mas
> Mas 是一个简单的 Mac App Store 命令行界面。
- 按应用名称搜索 Mac App Store 并返回匹配的标识符:
`mas search {{应用名}}`
- 安装或更新以前购买的应用程序:
`mas install {{应用名}} {{应用 ID}}`
- 显示所有已安装的应用程序及其应用 ID
`mas list`
- 列出等待更新的已安装应用:
`mas outdated`
- 升级所有可升级的应用:
`mas upgrade`
- 升级指定的应用:
`mas upgrade {{应用 ID}}`