microsoft / microsoft/winget-cli
More configurable settings and arguments for install scope
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
If a user specifically runs sudo winget install... in terminal, it's pretty likely that they intend to install an application with --scope machine. I might be wrong about this, but I think it would be convenient if running such a command defaulted to machine scope instead of user.
Proposed technical implementation details
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the install command's argument parsing and scope-selection logic, then compare behavior for elevated and non-elevated invocations. Done means the intended default is defined and covered by tests, including explicit scope arguments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100