change wsl version to 2 code example
Example: change wsl to version 1
wsl --set-version Ubuntu-18.04 1
// Run the above command from windows powershell
// This assumes you are running Ubuntu 18.04
wsl --set-version Ubuntu-18.04 1
// Run the above command from windows powershell
// This assumes you are running Ubuntu 18.04