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