Skip to content

bundle: use mas get instead of mas install for Mac App Store apps#21601

Closed
veeceey wants to merge 1 commit intoHomebrew:mainfrom
veeceey:fix/issue-21559-mas-get
Closed

bundle: use mas get instead of mas install for Mac App Store apps#21601
veeceey wants to merge 1 commit intoHomebrew:mainfrom
veeceey:fix/issue-21559-mas-get

Conversation

@veeceey
Copy link

@veeceey veeceey commented Feb 20, 2026

Summary

  • Replace mas install with mas get in MacAppStoreInstaller for installing new Mac App Store apps
  • mas install only re-downloads apps previously associated with the Apple Account, failing with "Redownload Unavailable" on fresh accounts
  • mas get handles both fresh installs and re-downloads, making Brewfiles work on new machines without manual workarounds

Closes #21559

Test plan

  • Updated existing test expectation to verify mas get is called instead of mas install
  • All 8 existing mac_app_store_installer_spec.rb tests pass
  • brew style passes with no offenses

`mas install` only re-downloads apps previously associated with the
Apple Account, failing on fresh accounts with "Redownload Unavailable".
`mas get` handles both fresh installs and re-downloads, making
Brewfiles work on new machines without manual workarounds.

Closes Homebrew#21559
@veeceey veeceey force-pushed the fix/issue-21559-mas-get branch from 9b686c0 to 54631c1 Compare February 20, 2026 08:37
@bevanjkay
Copy link
Member

This looks like a duplicate of #21590

@bevanjkay bevanjkay closed this Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

brew bundle: use 'mas get' instead of 'mas install' for Mac App Store apps

2 participants