1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/osx/mas.md
Cornelius Roemer 791fbb90f2
mas: add lucky, outdated (#13465)
---------

Co-authored-by: spageektti <git@spageektti.cc>
2024-08-19 19:11:17 +02:00

786 B

mas

Command-line interface for the Mac App Store. More information: https://github.com/mas-cli/mas.

  • Sign into the Mac App Store for the first time:

mas signin "{{user@example.com}}"

  • Show all installed applications and their product identifiers:

mas list

  • Search for an application, displaying the price alongside the results:

mas search "{{application}}" --price

  • Install or update an application using exact numeric id:

mas install {{numeric_product_id}}

  • Install the first application that would be returned by the respective search:

mas lucky "{{search_term}}"

  • List all outdated apps with pending updates:

mas outdated

  • Install all pending updates:

mas upgrade

  • Upgrade a specific application:

mas upgrade "{{numeric_product_id}}"