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

mas-cli是一個Mac 應用商店的開源命令行工具,遵守MIT開源協議。支持搜索、安裝、更新應用等操作,對於一些不想通過 App Store 安裝的軟件,可以藉助mas-cli直接以命令行方式安裝。建議Mac OS 10.14.4以上版本使用。

使用方法:

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