# mas

> Mac App Store command-line interface

Source: https://talira.ai/catalog/mas-1wdjhq32
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [system utilities / macos / app store](https://talira.ai/categories/system-utilities/macos/app-store), [system utilities / macos](https://talira.ai/categories/system-utilities/macos), [developer tools / package managers](https://talira.ai/categories/developer-tools/package-managers)
- Platforms: macos[^3]
- Licence: MIT[^4]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Self-hostable: yes[^3]
- Creator: Andrew Naylor

mas is a command-line interface for the Mac App Store, designed for scripting and automation. It searches the store, looks up app details, lists installed and outdated apps, gets free apps, installs apps you already own, updates and uninstalls them, and outputs JSON for scripts. [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md) Bundle uses it to put App Store apps in a Brewfile, and Topgrade uses it for updates. Installing and updating need an Apple Account signed in to the App Store and root privileges, and installed apps are found through Spotlight. MIT licensed, written in Swift.

## Links

- GitHub: https://github.com/mas-cli/mas

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/mas>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/mas>[^2]

## Problems it solves

- install my Mac App Store apps from a script when setting up a new Mac
- include App Store apps in my Brewfile alongside Homebrew packages
- update all my Mac App Store apps from the terminal
- see which App Store apps on my Mac have updates waiting
- find an App Store app's ID so I can automate installing it
- list the App Store apps installed on a Mac as JSON
- uninstall App Store apps from the command line

## Features

- search and lookup App Store apps
- list installed and outdated apps
- get free apps and install owned apps
- update and uninstall apps
- `lucky` installs the first match
- JSON output
- accepts ADAM IDs and bundle IDs
- Homebrew Bundle and Topgrade integration

## Limitations

- Can't buy paid apps: purchase them in the App Store first, then install them with mas[^3]
- Doesn't install iOS or iPadOS apps on a Mac: only Mac App Store apps[^3]
- Doesn't update macOS or Safari: use softwareupdate for system software[^3]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.62, adoption 0.82, momentum 0.59, community 0.68, backing 0.20, extensibility 0.20.

- last commit 7 days ago
- 3 commits in the last 90 days
- latest release v7.0.0 6 months ago
- 12.4k GitHub stars
- 49 contributors
- created by Andrew Naylor

## Alternatives

- [Mac App Store](https://talira.ai/catalog/mac-app-store-xpjdeb6b.md): Discover, buy and download Mac apps, and keep them updated

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://github.com/mas-cli/mas (checked 19 Nov 2026)
[^4]: https://github.com/mas-cli/mas/blob/main/LICENSE (checked 19 Nov 2026)
