# mas-cli/mas

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/mas-cli-mas).**

11,992 stars · 288 forks · Swift · mit

## Links

- GitHub: https://github.com/mas-cli/mas
- awesome-repositories: https://awesome-repositories.com/repository/mas-cli-mas.md

## Topics

`app-store` `homebrew` `mac-app-store` `macos` `mas` `osx` `software-update`

## Description

This project provides a command-line interface for managing the lifecycle of applications from the Apple App Store. It functions as a package manager for macOS, enabling users to search for software, install new applications, and maintain existing installations directly through terminal commands.

The tool distinguishes itself by wrapping private system APIs to perform store operations that are typically restricted to the graphical user interface. It integrates with the operating system to handle administrative privilege elevation, allowing for secure, automated modifications to protected application files during installation and update processes.

Beyond basic installation, the utility facilitates system maintenance by auditing installed software and comparing local versions against official store metadata. This allows for the identification of outdated applications and the automation of software updates across multiple machines, supporting consistent environment provisioning through scripted workflows.

## Tags

### Development Tools & Productivity

- [App Store Utilities](https://awesome-repositories.com/f/development-tools-productivity/app-store-utilities.md) — Provides a command-line interface for searching, installing, and updating applications directly from the Apple App Store.
- [Command Line Interfaces](https://awesome-repositories.com/f/development-tools-productivity/command-line-interfaces.md) — Provides a command-line interface for managing Apple App Store applications directly from the terminal.
- [macOS Utilities](https://awesome-repositories.com/f/development-tools-productivity/macos-utilities.md) — Automates the lifecycle of desktop software through terminal commands to simplify system maintenance and deployment.
- [Software Update Checkers](https://awesome-repositories.com/f/development-tools-productivity/software-update-checkers.md) — Identifies outdated applications by comparing local versions against official store metadata for security and performance.
- [Application Updaters](https://awesome-repositories.com/f/development-tools-productivity/version-control-repository-tools/version-management-tooling/version-manager-updaters/application-updaters.md) — Compares local software versions against official store records to identify installed programs requiring updates. ([source](https://github.com/mas-cli/mas#readme))
- [Application Installers](https://awesome-repositories.com/f/development-tools-productivity/application-installers.md) — Generates a comprehensive list of installed applications to identify programs that are outdated or require attention. ([source](https://github.com/mas-cli/mas#readme))
- [Command Line Applications](https://awesome-repositories.com/f/development-tools-productivity/command-line-interfaces/command-line-applications.md) — Integrates software management into custom terminal workflows by searching store metadata and querying installed application lists.
- [Package Metadata Querying](https://awesome-repositories.com/f/development-tools-productivity/dependency-managers/package-metadata-querying.md) — Retrieves installed application information by parsing local system databases and package manifests.

### Operating Systems & Systems Programming

- [App Store Managers](https://awesome-repositories.com/f/operating-systems-systems-programming/app-store-managers.md) — Installs, updates, and removes applications from the official store directly through the command line interface.

### System Administration & Monitoring

- [Package Managers](https://awesome-repositories.com/f/system-administration-monitoring/package-managers.md) — The CLI tool queries the official application store to find specific software and retrieve detailed metadata in a structured format for use in scripts. ([source](https://github.com/mas-cli/mas#readme))
- [Elevation Utilities](https://awesome-repositories.com/f/system-administration-monitoring/task-automation-scripts/elevation-utilities.md) — Manages temporary system credentials automatically when performing tasks that require elevated permissions. ([source](https://github.com/mas-cli/mas#readme))

### Software Engineering & Architecture

- [Application Lifecycle Management](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management.md) — Manages the complete lifecycle of applications, including installation, updates, and removal, via command-line commands. ([source](https://github.com/mas-cli/mas#readme))
- [System API Wrappers](https://awesome-repositories.com/f/software-engineering-architecture/token-standard-implementations/safe-interaction-wrappers/system-api-wrappers.md) — Wraps private system APIs to perform store operations otherwise restricted to the graphical user interface.
- [Software Lifecycle Management](https://awesome-repositories.com/f/software-engineering-architecture/software-lifecycle-management.md) — Tracks installed application versions and automatically applies updates to maintain system security and performance.

### DevOps & Infrastructure

- [Automated System Provisioning](https://awesome-repositories.com/f/devops-infrastructure/automated-system-provisioning.md) — Supports consistent environment provisioning through scripted workflows for installing and maintaining software packages.

### Security & Cryptography

- [Privilege Escalation Tools](https://awesome-repositories.com/f/security-cryptography/privilege-escalation-tools.md) — Handles administrative privilege elevation to perform secure installations and modifications of protected application files.

### Data & Databases

- [Remote Metadata Scrapers](https://awesome-repositories.com/f/data-databases/local-metadata-stores/remote-metadata-scrapers.md) — Fetches remote application details by querying official store endpoints to provide structured data for search and update tasks.
