How to install WSL Linux subsystem on Windows 11

Here’s how to install WSL Linux subsystem on Windows 11 in just a couple of clicks, allowing you to use Linux without having to install a double-boot operating system or virtual machines.Microsoft announced the Linux subsystem for Windows 10 back in 2016. Since then, the project has received several major updates and improvements. Newer versions of Windows come with a second generation Linux subsystem that is much easier to install than its predecessor.

On Windows 11, installing Windows Subsystem for Linux requires only entering one or two commands in the Windows Terminal. Here’s how to do it.

Install WSL subsystem on Windows 11

  1. Press ⊞ Win + X or right-click on the Start button. In the menu that appears, select Windows Terminal (Admin). Alternatively, find it in the Start menu.Install Linux Subsystem In Windows 11 01
  2. Enter the wsl --install command. This command automatically performs all the steps that the user previously had to do manually. For example, install the virtual machine platform, subsystem files, the Ubuntu OS, and so on.Install Linux Subsystem In Windows 11 02
  3. Wait for the Linux subsystem to install on Windows 11.
  4. After that, restart your computer.

Now you can start WSL and use it according to your needs. If you need to update Windows Subsystem for Linux, use the wsl --update command.

Windows 11 uses Ubuntu by default when installing the Linux subsystem using the wsl --install command. If you are not satisfied with this, proceed with the installation using the second chapter below.

Ubuntu, openSUSE Leap, Kali Linux, Debian GNU and many more are available in the Microsoft Store. If earlier Windows only allowed working with Ubuntu, now you can work with several different distributions at once.

Install WSL Linux in Windows 11 with a choice of distribution

  1. Open Windows Terminal as Administrator.
  2. Enter the wsl --list --online command. This command will display a list of Linux distributions available for download.
  3. Having decided on the distribution kit you need, enter the command to install the subsystem: wsl --install -d NAME. Replace NAME with the distribution name from the first column. For example wsl --install -d kali-linux.Install Linux Subsystem In Windows 11 03
  4. Press ↵ Enter and wait for all required files to download and install.
  5. Reboot your computer.

After restarting your computer, you can start the Linux subsystem and the distribution package it downloaded and installed. Enjoy.

Author: The MFTNEXT Team

The MSFTNEXT project is a small team of authors who love to engage with the latest technology and gadgets. Being passionate Windows bloggers, we are happy to help others fix their system issues.

Leave a Reply

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