MAS(1)

πŸ“¦ version 7.0.0, in nixpkgs unstable

🌸 MAS(1) β€” the mas girlies' field guide 🌸

ok so real talk: this is the manual page for mas, aka the Mac App Store command-line interface, straight out of the General Commands Manual. grab a strawberry drink πŸ“ and let's get into it.


✨ NAME ✨

mas β€” Mac App Store command-line interface. that's it, that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

mas subcommand [--version] [--help]

πŸ’… DESCRIPTION πŸ’…

okay bestie, so mas is a whole CLI for the Mac App Store, and it's giving main character energy. every subcommand gets the same two little besties available to it:

  • --version β€” show the version. that's the whole thing. she just tells you the version. πŸ’β€β™€οΈ
  • -h, --help β€” show help information. the -h is the shortie, --help is the full word, both slay equally.

and now, the subcommands, in the order they were handed to us. do not skip any, i literally mean it, we're doing all of them 🫢

  • --json β€” output JSON πŸ’»

plus the standard:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ‘‘ get β€” get & install free apps from the App Store

⚠️ requires root privileges to get apps. so like, sudo energy. periodt.
  • --force β€” force reinstall πŸ”
  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

🌈 home β€” open App Store app pages in the default web browser

  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

🧚 install β€” install previously gotten apps from the App Store

⚠️ requires root privileges to install apps.
  • --force β€” force reinstall
  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

⭐ list β€” list apps installed from the App Store

  • --json β€” output JSON
  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ”₯ lookup β€” output app info from the App Store

  • --json β€” output JSON
  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ€ lucky β€” install the first app returned from searching the App Store

ok so a cutie detail here: the app will install only if it has already been gotten. no getting, no installing. iykyk.

⚠️ requires root privileges to install apps.
  • --force β€” force reinstall
  • search-term... β€” search terms are concatenated into a single search

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ’œ open β€” open app page in 'App Store.app'

  • --bundle β€” process all app IDs as bundle IDs
  • app-id β€” app ID

(psst β€” this one takes a single app-id, no .... she's monogamous πŸ’…)

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ¦„ outdated β€” list pending app updates from the App Store

ok this one has a LOT going on, stay with me:

  • --json β€” output JSON
  • --accurate β€” use accurate, slower logic that starts then cancels a download for each queried app, which can exceed download limits & which will open dialogs for undownloadable apps 😭
  • --inaccurate β€” use inaccurate, faster logic that avoids dialogs
  • --check-min-os β€” check if macOS can install latest app version
  • --no-check-min-os β€” check if macOS can install latest app version
  • --verbose β€” warn about app IDs unknown to the App Store
  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.
πŸ’€ note that --accurate literally starts and cancels real downloads, can blow past download limits, and pops dialogs for undownloadable apps. it's giving "slay but expensive". choose accordingly.

🧼 reset β€” reset App Store processes & clear cached App Store downloads

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ” search β€” search for apps in the App Store

  • --json β€” output JSON
  • --price β€” output the price of each app πŸ’Έ
  • search-term... β€” search terms are concatenated into a single search

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ›οΈ seller β€” open apps' seller pages in the default web browser

  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸšͺ signout β€” sign out of the App Store

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ—‘οΈ uninstall β€” uninstall apps installed from the App Store

⚠️ requires root privileges to uninstall apps.
  • --dry-run β€” perform dry run πŸ§ͺ
  • --all β€” uninstall all App Store apps
  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

πŸ”„ update β€” update outdated apps installed from the App Store

⚠️ requires root privileges to update apps.
  • --force β€” force reinstall
  • --accurate β€” use accurate, slower logic that starts then cancels a download for each queried app, which can exceed download limits & which will open dialogs for undownloadable apps 😭
  • --inaccurate β€” use inaccurate, faster logic that avoids dialogs
  • --check-min-os β€” check if macOS can install latest app version
  • --no-check-min-os β€” check if macOS can install latest app version
  • --verbose β€” warn about app IDs unknown to the App Store
  • --bundle β€” process all app IDs as bundle IDs
  • app-id... β€” app ID

plus:

  • --version β€” show the version.
  • -h, --help β€” show help information.

🏷️ version β€” output version number

  • --version β€” show the version.
  • -h, --help β€” show help information.

🫢 help β€” show subcommand help information.

  • subcommands...
  • --version β€” show the version.

(and yeah β€” help doesn't list -h, --help like the rest of the girlies do. that's just how it is, don't come for me πŸ™ˆ)


πŸ’€ EXIT STATUS πŸ’€

the mas utility exits 0 on success, and >0 if an error occurs. so like, zero = we ate, anything above zero = something went sideways. simple as that, no notes. πŸ”₯


ok that's the whole page, bestie, you're officially fluent πŸ’–

β€” cute lil sign-off: this one's from Debian, dated May 4, 2026. that's the source/version and the date, right there at the bottom like a little bow on top πŸŽ€βœ¨

πŸ“¦ where this page comes from