Forrest logo
tool overview
On this page you find all important commands for the CLI tool mas. If the command you are looking for is missing please ask our AI.

mas

MAS (Mac App Store) is a command-line tool available on macOS. It allows users to interact with the Mac App Store directly from the terminal. It was introduced with the release of macOS Mojave in 2018.

With MAS, users can search, install, update, and manage applications available on the Mac App Store without using the graphical interface. It provides a convenient way to automate tasks related to app management.

Users can search for apps using keywords, list available updates, and install or update apps through the command line. It allows for scriptable control over the Mac App Store application.

MAS requires authorized access to the Mac App Store using an Apple ID. It uses the authentication token from the Mac App Store app to access the store's features through a command-line interface. This makes it useful for system administrators or developers who need to manage apps on multiple machines.

Overall, MAS is a powerful tool for managing Mac App Store applications through the command line, providing flexibility and automation capabilities to macOS users.

List of commands for mas:

  • mas:tldr:061d3 mas: Search for an application, displaying the price alongside the results.
    $ mas search "${application}" --price
    try on your machine
    explain this command
  • mas:tldr:2f64a mas: Install all pending updates.
    $ mas upgrade
    try on your machine
    explain this command
  • mas:tldr:38446 mas: Sign into the Mac App Store for the first time.
    $ mas signin "${user@example-com}"
    try on your machine
    explain this command
  • mas:tldr:c56dd mas: Show all installed applications and their product identifiers.
    $ mas list
    try on your machine
    explain this command
  • mas:tldr:d43e4 mas: Install or update an application.
    $ mas install ${product_identifier}
    try on your machine
    explain this command
tool overview