How To Install Windows Subsystem For Linux 2 On Windows 11 PC – Guide

In addition, the command also installs the latest Ubuntu distribution by default. If you prefer a different Linux distribution, you can append the command to choose a different distribution installation. In addition to the new quick and easy way, you can also find another way to update the kernel more easily with just one command. In that guide, you will learn the simple steps to install the WSL platform on your device. Also, we will describe the steps to update the Linux kernel on Windows 11. (Also see the video tutorial in how to use this feature.) Like newer versions of Windows 10, Windows 11 uses WSL 2. This second version has been redesigned and runs a full Linux kernel inside a Hyper-V hypervisor to improve compatibility. By enabling the feature, Windows 11 downloads a Linux kernel created by Microsoft that runs in the background. Windows Update maintains the kernel up Until the present date. (You can also use your own custom Linux kernel if you prefer.) To use WSL, you need to install a Linux distribution. By default, WSL installs Ubuntu. This will give you access to a full Ubuntu command line environment using the bash shell or any other command line shell of your choice.

How to Install Windows Subsystem for Linux on Windows 11

The fastest way to install WSL on Windows 11 is through the command prompt or PowerShell. You can use any of the tools to do this – choose the environment you feel most comfortable in. To do this, open the start menu (or press the Windows key) and type cmd to search for Command Prompt or powershell to open a new PowerShell window. Hover over the best match result and select Run as administrator on the right.

How to Install alternative Linux WSL distributions

How to Install Linux distributions from the Microsoft Store

If you’re not comfortable using a command-line tool, you can install Linux through the Microsoft Store. Installing Linux from the Store is like installing any other app from the Store. First, you must verify that WSL is enabled.

How to Access the Linux Shell in Windows 11

Windows 11 includes a new terminal app (called Windows Terminal) that lets you switch between PowerShell, Command Prompt, and other types of administrative windows. If you install and activate Windows Subsystem for Linux on Windows 11, you can use the new Windows Terminal to control your Linux shell.

How to Test the Windows Subsystem for Linux on Windows 11

if you’re not sure how to test if WSL is working, you can use Windows Terminal to do this.

Final note

I hope you like the guide How To Install Windows Subsystem For Linux 2 On Windows 11 PC. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.