macOS
brew install maslocal Homebrew formula metadata
sudo port install masMacPorts ports tree · sysutils/mas/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mas pour les workflows d'agents IA.
installation
brew install maslocal Homebrew formula metadata
sudo port install masMacPorts ports tree · sysutils/mas/Portfile · Source: api.github.com
nix profile install nixpkgs#masnixpkgs package indexes · pkgs/by-name/ma/mas/package.nix · Source: api.github.com
aperçu
Mac App Store command-line interface
historique
mas is a macOS command-line interface for the Mac App Store, designed for scripting and automation. It gives package-manager users a way to search, list, install, update, and inspect App Store apps from shell scripts and Brewfiles.
The mas repository was created in August 2015, and v1.0.0 was released in September 2015 as the initial public release. Early releases quickly added app upgrade and App Store sign-in/sign-out commands, establishing the project's role as a bridge between command-line workflows and Apple's GUI-oriented app distribution system.
The project matured into a Swift-based macOS utility with a man page, `mas --help`, GitHub wiki documentation, and a command table in the README. Recent releases continue to track App Store behavior and macOS compatibility changes; the v6 series improved minimum-OS handling for outdated checks, and GitHub listed v7.0.0 as the latest release in May 2026 with optional JSON output and tabular output improvements.
mas became especially prominent in the Homebrew ecosystem because Homebrew Bundle can include Mac App Store applications in a Brewfile. The official README lists Homebrew Core, the mas tap, MacPorts, and GitHub Releases as installation routes, while the supplied package metadata also records Nix packaging.
With more than twelve thousand GitHub stars, mas is one of the better-known macOS-specific CLI tools. Its adoption reflects a common need among dotfile, laptop-bootstrap, and managed-Mac users: keeping App Store software in the same declarative or scripted workflow as Homebrew packages.
Common commands include `search`, `lookup`, `list`, `outdated`, `get`, `install`, `lucky`, `update`, `uninstall`, `open`, and `home`. The README notes that detailed command documentation is available through `man mas` and `mas --help`.
The CLI depends on macOS and App Store behavior rather than a portable service API. Its README documents practical constraints such as App Store eventual consistency, Spotlight indexing requirements, free-app installation behavior, and the need to purchase paid apps directly in the App Store.
mas is package-nerd glue: it does not replace Homebrew, but it fills the Mac App Store gap that Homebrew intentionally leaves alone. In Brewfiles, it lets a machine rebuild include both Unix packages and GUI App Store apps.
It is also a useful reminder that package management on macOS is plural. Homebrew, MacPorts, Apple's App Store, and system update mechanisms all own different slices, and mas gives one of those slices a scriptable face.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
mas | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/mas-cli/mas
métadonnées d'installation
| Clé du paquet | brew:mas |
|---|---|
| Version | 7.0.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/mas |
| Page d'accueil | https://github.com/mas-cli/mas |
| Dépôt | https://github.com/mas-cli/mas |
| Docs amont | https://github.com/mas-cli/mas#readme |
| Licence | MIT |
| Archive source | https://github.com/mas-cli/mas.git |
| Dernière mise à jour | 2026-06-09T11:09:24+02:00 |
| Pulse | updated |
| Bibliothèques fournies par macOS | jq |
| Bouteille | disponible (sur arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mas |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
mas
nix profile install nixpkgs#masmas
sudo port install maspiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.