How to update WSL kernel on Windows 11

Windows 11 includes a simple command to update the WSL kernel and components, and in this guide, you will learn how.

WSL update install on Windows 11
WSL update install on Windows 11
  • To update WSL on Windows 11, open PowerShell or Command Prompt (admin), run the “wsl –update” command, and restart the computer.

On Windows 11, you can update the Windows Subsystem for Linux 2 (WSL) kernel and other components with a single command, and in this guide, you will learn how.

Although updates for WSL happen automatically through Windows Update, sometimes, you may still need to check and download the latest updates for the subsystem kernel and other components, and this is when the “wsl.exe” command-line tool comes in handy.

Now, if you are trying to switch from WSL 1 to version 2, then it’s not an update, it’s an upgrade, and this process is a little different.

This guide will teach you the easy steps to update the WSL platform on Windows 11. In addition, I’ll outline the steps to enable the option to allow the system to download and install updates automatically.

Install WSL updates on Windows 11

To update WSL on Windows 11, use these steps:

  1. Open Start on Windows 11.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. (Optional) Type the following command to confirm the current Windows Subsystem for Linux version and press Enter:

    wsl --version
  4. Type the following command to update the WSL on Windows 11 and press Enter:

    wsl --update

    WSL install updates

  5. (Optional) Type the following command to confirm the latest kernel update has been installed and press Enter:

    wsl --version
  6. (Optional) Type the following command to revert to the previous version of WSL and press Enter:

    wsl --update --rollback

After you complete the steps, if an update is available, it will download and install on your computer.

When using this mechanism to update the Windows Subsystem for Linux, note that there is a delay between the time that Microsoft releases a new kernel to GitHub and the time the update becomes available through Windows Update. As a result, the version on your computer may not always match the most up-to-date version available for the platform. 

Enable WSL automatic updates 

To allow WSL to download and install updates automatically on Windows 11, use these steps:

  1. Open Settings.

  2. Click on Windows Update.

  3. Click the Advanced options tab.

  4. Turn on the “Receive updates for other Microsoft products” toggle switch.

    Receive updates for other Microsoft products

Once you complete the steps, updates should download and install automatically for the Windows Subsystem for Linux.

About the author

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me.