microsoft / microsoft/winget-cli

When upgrading a package, show current version -> new version

Open
#1,159 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description of the new feature/enhancement

Currently when running winget upgrade xxxxx no versiion numbers are given. It would be a better experience for the user to be informed of the current version and the version that is being installed.

Proposed technical implementation details (optional)

It should look like this - my proposed addition is the line Upgrading v1.4.0 -> v1.4.1:

> winget upgrade kiwix
Found Kiwix JS [Kiwix.KiwixJS]
Upgrading v1.4.0 -> v1.4.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Successfully verified installer hash
Starting package install...
  ██████████████████████████████  100%
Successfully installed

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 by reproducing winget upgrade kiwix and trace the CLI output for the upgrade flow. Identify where the current and available versions are already known, then add the requested Upgrading v1.4.0 -> v1.4.1 line without changing the installation messages. Done means upgrade output shows both versions consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.