ericsysmin's DevOps Blog

Converting WSL 1 Operating Systems to WSL 2 on Windows

Converting WSL 1 Operating Systems to WSL 2 on Windows

You will need Windows 10 build 18917 or higher to be able to use WSL 2. Please note, you will need to have the Powershell Administrator window up. If you are converting WSL 1 to WSL 2 I’d assume you have Linux Subsystem for Windows installed. If not, the following command will install it for you.

Once you do that you will need to run

Now you should be able to run, substitute <Distro> with your specific distribution. You can get a list by using the command: wsl --list --verbose .

For setting all future distributions to use WSL 2, you will need to use the following command:

Now the last step is to verify your changes worked: