Ubuntu Linux Windows

How to Update WSL Kernel on Windows 11

Richard
Written by
Richard
May 14, 2023 Updated Apr 17, 2026 3 min read

This guide explains how to update the Windows Subsystem for Linux (WSL) kernel on Windows 11.

Why update the WSL kernel?

Keeping your kernel updated ensures your Linux environment runs smoothly. It provides the latest security fixes, performance improvements, and compatibility for new software tools.

What happens when you are done?

Once finished, your WSL environment will be running the most current version of the Linux kernel provided by Microsoft, ensuring better stability and access to the latest features.

Windows Subsystem for Linux allows you to run Linux tools directly on Windows without needing a separate virtual machine. While Windows Update handles these updates automatically, you can also trigger them manually.

How to manually update the WSL kernel

If you want to ensure you have the latest version right now, follow these steps:

  1. Open the Windows Terminal app as an administrator. (Note: This step requires admin privileges.)
  2. To check your current version, type the following command and press Enter:

    wsl --version


  3. To download and install the latest updates, run this command:

    wsl --update


  4. If you experience problems after an update, you can go back to your previous version by running:

    wsl --update --rollback


You can use these commands in either the Command Prompt or the Windows PowerShell.

Please note that there is often a short delay between when Microsoft posts a new kernel to GitHub and when it becomes available via the command line. You can track these releases on the official page on GitHub page.

Summary

WSL lets you run Linux on Windows 11 seamlessly. While Windows handles updates automatically via updates for other Microsoft products and updates for other Microsoft products, you can use the wsl --update command in an administrator terminal to force an update immediately. If an update causes issues, the wsl --update --rollback command allows you to revert to the previous version safely.

How do I check the current WSL version on Windows 11?

To check the current WSL version on Windows 11, open the Windows Terminal app as an administrator and run the command 'wsl --version'. This will display the version information of WSL installed on your computer.

What command do I use to update the WSL kernel?

To update the WSL kernel on Windows 11, you can use the command 'wsl --update' in the Windows Terminal app. This command will download and install the latest kernel and components available.

Can I revert to a previous WSL kernel version if I encounter issues?

Yes, if you run into issues after updating the WSL kernel, you can revert to the previous version by using the command 'wsl --update --rollback'. This will restore the last working kernel version.

Will Windows Update automatically update my WSL kernel?

Yes, the Windows Update feature can automatically update the WSL kernel when a new version is available. However, you can also manually check and update using the 'wsl.exe' command-line tool.

Is there a delay in WSL kernel updates on Windows 11?

Yes, there might be a slight delay between when Microsoft releases a new WSL kernel on GitHub and when it becomes available through Windows Update. Therefore, using the 'wsl.exe' command may not always install the latest releases immediately.

Was this guide helpful?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version