Menu & Search
How To Change From WSL2 to WSL1

How To Change From WSL2 to WSL1

This is a post on how to change a Windows Subsystem for Linux (WSL) Distribution from a Version 2 to Version 1.

The WSL has two versions, the latest (2), and original version (1). This Microsoft documentation page explains the key differences between versions, and will help explain why you might want to downgrade back to version 1 for your particular WSL development needs.

To change one of your WSL Distributions from WSL2 to WSL1, we just need to pass in the –wsl-version parameter and it’ll be converted very quick. I’m listing my available WSL Distro’s before and after to visually verify the change.

# check wsl distro versions
wsl -l -v

# change wsl distro using name above to desired version
wsl --wsl-version Ubuntu 1
WSL Downgrade WSL2 to WSL1

Share

0 Comments