How to Update WSL Kernel on Windows 11

The Windows Subsystem for Linux (WSL) relies on a Linux kernel maintained by Microsoft to run Linux distributions smoothly on Windows 11. Keeping the WSL kernel updated is important for performance improvements, security patches, and compatibility with newer features.

If your WSL environment is outdated, you may experience errors, missing features, or compatibility issues with certain tools. Fortunately, updating the WSL kernel is a straightforward process and can be done using built-in commands or manual methods.

In this guide, we’ll walk you through how to update the WSL kernel on Windows 11 step by step.

How to Update WSL Kernel on Windows 11

Before proceeding, make sure WSL is installed on your system and that you have an active internet connection.

1. Update WSL Using Command Line (Recommended)

The easiest way to update the WSL kernel is using a single command.

  1. Press Windows + S and search for Command Prompt or PowerShell.
  2. Right-click and select Run as administrator.
  3. Enter the following command: wsl –update
  4. Press Enter and wait for the update to complete.

This command downloads and installs the latest WSL kernel.

2. Check WSL Kernel Version

After updating, verify the installed version.

  1. Open Command Prompt or PowerShell.
  2. Run: wsl –status
  3. Check the Kernel version displayed.

This confirms whether the update was successful.

3. Restart WSL

To apply changes properly:

  1. Run the following command: wsl –shutdown
  2. Restart your Linux distro.

This ensures the new kernel is loaded.

4. Update WSL from Microsoft Store

WSL is now distributed via the Microsoft Store.

  1. Open the Microsoft Store.
  2. Search for Windows Subsystem for Linux.
  3. Click Update if available.

Updating from the Store ensures you have the latest features.

5. Manually Download WSL Kernel (Alternative)

If automatic update fails:

  1. Visit the official Microsoft WSL kernel update page.
  2. Download the latest kernel update package.
  3. Run the installer and follow instructions.

This method is useful for offline or restricted systems.

6. Set WSL Version to Latest

Ensure you’re using the latest WSL version.

  1. Run: wsl –set-default-version 2

WSL 2 uses the updated Linux kernel and offers better performance.

7. Update Linux Distribution Packages

After updating the kernel, update your distro.

  1. Open your Linux terminal.
  2. Run: sudo apt update && sudo apt upgrade

This ensures your Linux environment is fully updated.

Conclusion

Updating the WSL kernel on Windows 11 is essential for maintaining performance, security, and compatibility with modern Linux tools. Whether you use the simple wsl --update command or update through the Microsoft Store, the process is quick and effective.

By following the steps in this guide, you can ensure your WSL environment stays up to date and runs smoothly. Regular updates will help you avoid issues and take advantage of the latest improvements in Windows Subsystem for Linux.

Posted by Raj Bepari

I’m a digital content creator passionate about everything tech.