Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.29 KB

File metadata and controls

33 lines (22 loc) · 1.29 KB

Upgrade to WSL2

More information can be found here.

To proceed any further, you must be sure that you are running Windows 10, updated to version 2004, Build 19041 or higher:

  • Win + R;
  • Run winver;

If you need to upgrade:

  • Win → Check for Updates;
  • Alternatively, if you don't see the latest build being suggested, you can push the upgrade manually via the Update Assitant.

To upgrade the Linux kernel:

  • Download and install WSL2 kernel upgrade package here;
  • Open PowerShell and run wsl --set-default-version 2.

Any new distribution should use the new kernel by default.

To upgrade a previously installed distribution to the new kernel:

  • Open PowerShell;
  • Run wsl --list --verbose;
  • Identify the distribution you wish to upgrade, and run wsl --set-version <distroName> 2;
  • Update your default version for future distros with wsl --set-default-version 2.

Next: Install a Distribution

Previous: Windows Subsystem for Linux (WSL)

Return: Table of Contents