microsoft / microsoft/winget-cli

Show links in `winget list` command

Open
#3,043 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Output 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

For portable apps, it would be good to show the symlinks created by a package in the list command. Alternately, a winget links command that shows the link name and target.

Proposed technical implementation details

Example powershell function:

function Get-WinGetLinks {
    <#
        .SYNOPSIS
            List winget links
    #>
    [CmdletBinding()]
    [Alias("wglinks")]
    param ()

    $linksPath = Join-Path $Env:LOCALAPPDATA -ChildPath Microsoft\WinGet\Links
    Get-ChildItem -Path $linksPath | Where-Object -Property LinkType -eq -Value "SymbolicLink" | Format-Table -Property Name, LinkTarget
}

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 examining the winget list command and the proposed winget links entry point, then compare their behavior with the PowerShell example using %LOCALAPPDATA%\Microsoft\WinGet\Links. Decide whether links belong in winget list or a separate command, and define completion as reliably showing each symbolic link's name and target for portable apps.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.