mas-cli / mas-cli/mas

Prompt user to install Rosetta 2 on Apple Silicon after `Authorization is Required to install the packages` error when installing

Open
#482 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog feature
Dominant language
Swift
Stars
12.4k
Forks
299
Avg merge
1d 2h
Merged PRs (30d)
1

Description

I get the error "Download failed: Authorization is required to install the packages" for a lot of packages I try to install. I am signed in to the AppStore and I couldn't find anything in the docs about this error.

Here's an example:
% mas install 453114608
==> Downloading JSON Helper for AppleScript
Error: Download failed: Authorization is required to install the packages

Any help/guidance is appreciated. Or maybe this is a bug or limitation? Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported mas install 453114608 failure on Apple Silicon and trace how the CLI handles “Authorization is required to install the packages.” Use the issue title as the expected behavior: identify when Rosetta 2 is needed and prompt the user to install it, then verify the original installation path no longer gives only the authorization error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.