Step 2: Set WSL2 as the Default Version

  1. After the restart in the previous step, open PowerShell as an administrator.

  2. Run the following:

    wsl --set-default-version 2
  3. Update the WSL kernel:

    wsl --update