How do you convert your WSL distro to WSL2?

Experience Level: Junior
Tags: WSL

Answer

From command-line, run
wsl --list

Then run 
wsl --set-versionn YourDistroName 2

(You will find YourDistroName in the output of the wsl --list)

Comments

No Comments Yet.
Be the first to tell us what you think.
Windows Subsystem for Linux (WSL)
Windows Subsystem for Linux (WSL)

Are you learning WSL ? Try our test we designed to help you progress faster.

Test yourself