microsoft / microsoft/winget-cli
Show links in `winget list` command
Open
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
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
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