microsoft / microsoft/winget-cli
Upgrade Microsoft Store apps with `winget upgrade`
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
I have some strange habit of turning on my computer then running winget upgrade --all as the first thing to ensure I'm up-to-date.
However, that isn't enough. I have to go to Windows Update settings, and check and install updates from there. Although this has nothing to do with WinGet, I use PSWindowsUpdate for the task. It works great.
Then, I have to open Microsoft Store, head the installed apps list, click in Update, and hope that it works.
Now, I'm wondering... if WinGet can install Microsoft Store apps, why shouldn't it be able to update them?
It would be so cool!
And I think I'm not the only one looking for something like it, when I Google Update microsoft store apps from powershell, there are plenty of people asking for some solution while none exist so far, it seems.
And I'm sorry if this is a duplicate, I searched for existing issues before opening.
Proposed technical implementation details
I'll leave that up to you, but I'd say that this should probably come enabled by default when running winget upgrade, including --all, the same way msstore is enabled by default when running winget install.
Maybe I could use winget upgrade --all -s winget or winget upgrade --all -s msstore to filter out if I need?
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 or tests are named. Start by tracing the winget upgrade --all flow and how the -s winget and -s msstore source filters behave, then compare it with Microsoft Store support in winget install. Done means Store apps can be upgraded through the requested commands while source filtering remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100