Mac 应用商店命令行工具:mas-cli

mas-cli是一个Mac 应用商店的开源命令行工具,遵守MIT开源协议。支持搜索、安装、更新应用等操作,对于一些不想通过 App Store 安装的软件,可以借助mas-cli直接以命令行方式安装。建议Mac OS 10.14.4以上版本使用。

Mac 应用商店命令行工具:mas-cli

使用方法:

list 列出所有软件。.

<code>$ mas list
446107677 Screens
407963104 Pixelmator
497799835 Xcode/<code>

使用搜索 mas search 。用--price 可在搜索结果中看到价格

<code>$ mas search Xcode
497799835 Xcode
688199928 Docs for Xcode
449589707 Dash 3 - API Docs & Snippets. Integrates with Xcode, Alfred, TextWrangler and many more.
[...]/<code>

安装:mas install + id号

<code>$ mas install 808809998
==> Downloading PaintCode 2
==> Installed PaintCode 2/<code>

欢迎关注订阅号开源派

官网:osp.io


分享到:


相關文章: