mas
brew install mas
v7.0.0
MIT
Command-line interface for the Mac App Store, enabling scripting and automation of app installation and updates.
Why you might care
Automate Mac App Store operations in shell scripts and dotfiles — install, update, and list apps without GUI interaction. Written in Swift and requires no external dependencies beyond Homebrew. Useful for system provisioning, CI/CD workflows, and headless macOS setup.
5.9k
30-day installs · #530
24.0k
90-day · #452
139.0k
365-day · #349
12.2k
★ GitHub stars · updated 1d ago
GitHub topics
app-store
homebrew
mac-app-store
macos
mas
osx
software-update
Links
- https://github.com/mas-cli/mas
- GitHub: mas-cli/mas
- Brew formula source: Formula/m/mas.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"softwareupdate",
"App Store GUI"
],
"build_dependencies": [],
"categories": [
"shell",
"sysadmin",
"package-manager"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Mac App Store command-line interface",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:56+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "mas",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-19T12:42:21Z",
"github_readme_excerpt": "\u003c!--editorconfig-checker-disable--\u003e\n\u003c!--markdownlint-disable-next-line first-line-h1--\u003e\n[](https://github.com/mas-cli/mas/releases/latest)\n[](Package.swift)\n[](LICENSE)\n[](https://www.swift.org)\n[](\n https://github.com/mas-cli/mas/actions/workflows/build-test.yaml?query=branch%3Amain\n)\n[](Package.swift)\n\u003c!--editorconfig-checker-enable--\u003e\n\n\u003ch1 align=\"center\"\u003e\n\n\n\n\u003c/h1\u003e\n\nmas is a command-line interface for the Mac App Store designed for scripting \u0026\nautomation.\n\n## Installation\n\n\u003c!--markdownlint-disable line-length--\u003e\n\u003c!--editorconfig-checker-disable--\u003e\n| Provider | Method | mas | macOS |\n|:------------------------------------------------------------------------------|:-------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------|\n| [Homebrew](https://brew.sh) ",
"github_repo": "mas-cli/mas",
"github_stars": 12234,
"github_topics": [
"app-store",
"homebrew",
"mac-app-store",
"macos",
"mas",
"osx",
"software-update"
],
"homepage": "https://github.com/mas-cli/mas",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 5881,
"installs_365d": 139028,
"installs_90d": 24007,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:45:27+00:00",
"llm_model": "claude-haiku-4-5",
"name": "mas",
"oldnames": [],
"one_liner": "Command-line interface for the Mac App Store, enabling scripting and automation of app installation and updates.",
"optional_dependencies": [],
"rank_30d": 530,
"rank_365d": 349,
"rank_90d": 452,
"raw_hash": "79e6d66be4e7e880",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/m/mas.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"swift": "build"
},
"jq"
],
"version_head": "HEAD",
"version_stable": "7.0.0",
"versioned_formulae": [],
"why_use_this": "Automate Mac App Store operations in shell scripts and dotfiles \u2014 install, update, and list apps without GUI interaction. Written in Swift and requires no external dependencies beyond Homebrew. Useful for system provisioning, CI/CD workflows, and headless macOS setup."
}