Windows Subsystem for Linux (WSL) has become an indispensable tool for developers and system administrators who wish to run Linux distributions directly on Windows machines. With the release of WSL2, Microsoft has introduced the full Linux kernel, offering enhanced performance, compatibility, and new features. One important maintenance task you may need to do is keeping your WSL kernel up to date.
Updating the WSL kernel ensures that you have the latest features, security patches, and improvements. In this guide, we’ll walk you through the process of updating the WSL kernel on Windows 11, both through the terminal and Windows settings.
What is the WSL Kernel?
The WSL kernel is a custom-built Linux kernel developed by Microsoft that allows Linux to run on Windows via the WSL feature. This kernel interacts with your Windows operating system and supports the running of Linux binaries. The kernel ensures compatibility and enables features like file system integration, networking, and more.
Updating the WSL kernel ensures that you have the latest improvements, security updates, and new features. It’s a relatively simple process, but keeping it up to date is important for optimal performance and security.
How to Update WSL Kernel on Windows 11
Updating the WSL kernel on Windows 11 is a straightforward process. There are two main ways to do this: through the terminal (command line) or through Windows Settings.
1. Using Terminal
The terminal is one of the quickest and most efficient ways to update your WSL kernel. Follow these steps:
1. Right-click on the Start button and select Terminal (Admin) option.
2. Type the following command into the terminal to check for current WSL version:
wsl --version
3. To update the Kernel run the follwoing command.
wsl --update

This command will automatically download and install the latest WSL kernel update available for your system.
2. Using Windows Settings
You can also update the WSL kernel through Windows Settings. It allow WSL to download and install updates automatically on Windows 11.
Here’s how you can enable WSL automatic updates:
1. Press Windows + I to open Settings.
2. In the Settings window, go to Windows Update and click on Advanced Options.

3. Now, enable the Receive updates for other Microsoft products toggle.

Once you complete the steps, if there are any available updates, they should download and install automatically for the Windows Subsystem for Linux.
Conclusion
Updating the WSL kernel on Windows 11 is an important task to keep your system secure, improve performance, and access new features. By following the methods outlined in this guide — either through the terminal or Windows settings — you can easily update the WSL kernel on your system. Regular updates ensure that your Linux distributions on Windows run smoothly and are equipped with the latest functionality and security patches.
Whether you’re a developer, sysadmin, or just someone using WSL for personal projects, keeping your kernel up to date will enhance your experience with Windows Subsystem for Linux.
