How To Reopen WSL Previous Created In PowerShell?

Open PowerShell

Run `wsl -l -v` to list installed WSL distributions

Run `wsl -d ` to reopen the desired distribution

Run `wsl` to open the default distribution

Run `wsl –cd ~` to open WSL in the home directory

Run `wsl -d –cd ~` to open a specific distribution in its home directory

Run `wsl -u ` to open WSL as a specific user

Run `wsl –shutdown` if WSL needs to be restarted before reopening

Run `wsl.exe` from PowerShell if `wsl` is not recognized

Suggested for You

Trending Today