microsoft / microsoft/winget-cli

When the index is updated, WinGet should check for updates to itself and prompt.

Open
#6,328 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

WinGet should be able to determine if it needs an update by virtue of loading the PreIndexed package for the "winget" source. If an update is available, the user should be prompted to perform the update.

This shouldn't become a "nag", so there should be arguments and settings to control the default behavior.

If winget upgrade --all or an upgrade command includes multiple packages including Microsoft.AppInstaller, ideally WinGet will update itself and then continue after it is updated with the "batch".

Proposed technical implementation details

No response

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 in the WinGet CLI flow that loads the PreIndexed package for the "winget" source and trace how upgrade commands handle Microsoft.AppInstaller. Define the prompt behavior, its controlling arguments and settings, and continuation of a multi-package upgrade after self-update. Done means the update check and non-nag controls are specified and work for the described upgrade scenarios.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.