Skip to content

WSL notes

Install

Requires

  • windows 10 22h2 build x.2311 or later
  • Intel VT-x or AMD-V virtualization support
  • 64-bit processor

Intall WSL2

If you can't run wsl --version in cmd, you need to install WSL2.

  • Open cmd and run 'wsl --update'

if you have wsl2, but you doesn't have access to the windows store (error 0x8024500c), you can install it with:

cmd
wsl --update --web-download

or with windows update:

If your organization has set it, the "Receive updates for other Microsoft products when you update Windows" option (In the Settings -> Windows Update -> Advanced settings) will automatically obtain the latest WSL2 kernel release when it is available.

I'm assuming that you don't have access to change this setting yourself, if your user permissions don't include the Store. It's typically an IT-managed setting.

Set version

cmd
wsl --set-version <distro> 2

References