convert wsl 1 distro to wsl2 code example
Example: wsl convert to wsl2
wsl --set-version <Distro> 2
# For setting all future distributions to use WSL 2
wsl --set-default-version 2
wsl --set-version <Distro> 2
# For setting all future distributions to use WSL 2
wsl --set-default-version 2