Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Win 10 WSL won't set default 2

Completely new to developing on windows (as my mac is in for repair) and I'm trying to follow these instructions https://learn.microsoft.com/en-us/windows/wsl/install-win10

But while I seem to have an adequate version, my wsl does not seem to have the right option. I have installed the wsl update, but was not asked for elevated privaledges while doing so. Any ideas?

enter image description here

like image 785
Simon H Avatar asked Dec 28 '25 20:12

Simon H


1 Answers

After following @ahsan-a's answer, make sure to complete the last step,Set your distribution version to WSL 1 or WSL 2:

On Powershell:

wsl --list --verbose

Then:

wsl --set-version <distribution name> 2
like image 131
Daniel Avatar answered Dec 30 '25 15:12

Daniel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!