microsoft / microsoft/winget-cli

Find installed packages dependent on Package X

Open
#6,247 2 comments 1 reaction 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

Suppose I see I have Package X installed. I start wondering if I can do without it. So I want to know what depends on Package X that I have installed. But winget.exe doesn't appear to expose that information.

Proposed technical implementation details

This might be implemented as winget depends <package-name>. It'd error out if <package-name> isn't installed. Only installed packages dependent on <package-name> are considered.

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 tracing existing WinGet CLI command entry points and how installed package metadata and dependencies are represented. Determine where a depends command would fit, then verify that it rejects packages not installed and lists only installed packages that depend on the requested package.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.