mas-cli / mas-cli/mas

Support installation to subdirectories of `/Applications`

Open
#449 9 comments 3 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

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
It would be nice to support downloading apps to a custom path. Eg mas install 414568915 --path /Applications/Utilities

Describe alternatives you've considered
I use a Brewfile with brew bundle to run mas, an alternative would be to create a script to manually move the applications to their desired location after calling brew bundle.

cd /Applications
mkdir -p /Applications/Utilities
mv Bakery.app /Applications/Utilities

Additional context
Based on https://github.com/mas-cli/mas/issues/72 and https://github.com/mas-cli/mas/pull/376 I gather that supporting installation outside of the /Applications directory is not supported, but a subdirectory seems to work.
If I install an app, then move it to a subdirectory of /Applications', it will still appear in mas list`.

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 from the mas install command and its handling of application destinations, then review issue #72 and pull request #376 for existing constraints. Done means accepting a custom path such as /Applications/Utilities while keeping the installed app visible to mas list.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.