microsoft / microsoft/WSL

let wsl -l to show instance folder path

Open
#4,862 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

I would like to see the instance path given by wsl -l command too, for example:

C:\Users\admin\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\

As we can download manually the WSL Linux release to any folder, then unzip it to install it. So if we have many releases in different folders, it would be not easy to distinguish one from another.

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
wsl -l
or
wsl -l --path

Describe alternatives you've considered

Additional context

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 the implementation of the wsl -l command and how installed distributions are enumerated. Determine how registered distributions expose their instance paths, then make the listing include each path or support wsl -l --path; done means the command distinguishes distributions installed in different folders and has coverage for the new output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.