Install Windows Subsystem for Linux (WSL) on Windows 11 and run Linux apps seamlessly. Our Windows Support team is ready to assist you. 

Install Windows Subsystem for Linux (WSL) on Windows 11

WSL lets you run Linux directly on Windows, using commands, tools, and apps without switching systems. WSL 2 adds a full Linux kernel for faster performance and full compatibility, combining the power of Linux with the convenience of Windows.

This article explains how to install WSL, set up Linux distributions, run commands and GUI apps, and manage software on both Windows 11 and Windows 10.

Introduction to WSL

Windows Subsystem for Linux, or WSL, is a feature in Windows 11 that lets you run Linux alongside your regular Windows setup. Instead of using a separate computer or a heavy virtual machine, you can open a terminal and work with Linux tools, applications, and even graphical programs directly on your desktop.


There are two versions of WSL. The first one translates Linux commands for Windows but has limited compatibility. The second, which most people use, runs a real Linux kernel in the background, giving you faster performance, full support for applications, and the ability to use tools like Docker.

Install Windows Subsystem for Linux (WSL) on Windows 11

The main benefits of WSL include quick installation, smooth file operations, and lower resource usage compared to traditional virtual machines. It also supports GPU acceleration for advanced tasks such as machine learning, and you can enhance performance further with tools like KVM Windows Guest Drivers when running virtualized environments.

In simple terms, WSL combines the flexibility of Linux with the convenience of Windows, making it a practical choice for developers, students, and anyone who wants both systems together.

Key Features of Windows Subsystem for Linux

Windows Subsystem for Linux makes it possible to use Linux tools directly on Windows without switching systems. It combines speed, compatibility, and ease of use, which is why many developers and learners prefer it.

With WSL 2, you get a real Linux kernel inside a small virtual machine. This brings faster performance, full support for Linux applications, and systemd, which lets more services run smoothly.

WSL also connects Linux and Windows in a practical way. You can open and edit files from either side, run commands across both systems, and even copy and paste text between them.

Another highlight is support for Linux desktop applications. You can launch them from the Start menu, see them on the taskbar, and use your GPU and audio just like with native Windows programs.

Overall, WSL provides a complete Linux experience while keeping everything integrated into Windows.

Steps to Install WSL on Windows 11

  1. Open a terminal with administrator rights. You can right click the Start menu and choose Windows Terminal with admin access, or search for PowerShell, right click it, and select run as administrator. Approve the permission prompt if it appears.
  2. In the terminal window, type wsl –install and press Enter. This command installs the required features, the Linux kernel, and sets Ubuntu as the default distribution.
  3. Restart your computer when the installation finishes.
  4. After the restart, Ubuntu will open automatically. Create a username and password for your Linux environment to complete the setup.
  5. If you want a different distribution instead of Ubuntu, use a command like wsl –install -d Debian or wsl –install -d Kali-Linux. You can also install more distributions later from the Microsoft Store.

Installing Linux Distributions on WSL

When you install WSL for the first time, Windows automatically sets up Ubuntu as the default Linux distribution. If you are fine with Ubuntu, you can start using it right away after creating your username and password.

If you prefer another distribution such as Debian, Kali Linux, or Fedora, you can install it with a simple command. Open your terminal with administrator rights and type:

wsl --install -d DistributionName

Replace DistributionName with the one you want. For example, use wsl –install -d Debian to install Debian or wsl –install -d Kali-Linux for Kali Linux.

To see the complete list of available distributions, run:

wsl --list --online

This will show all the Linux distributions you can install. Choose the one that best suits your work and set it up in the same way as Ubuntu.

Post Installation Setup

After the installation is complete, your Linux distribution will launch and ask you to create a username and password. This account is used inside Linux and will not affect your Windows login. Once you set it up, you are ready to use the Linux terminal.

At this stage, it is important to update the system so you have the latest software and security fixes. Open the terminal and run the command sudo apt-get update. This refreshes the package repositories and prepares your system for new installations.

You can then add the tools you need for your work. Many people begin with essentials such as Git for version control, curl for transferring data, and htop for monitoring processes. You can install them by running sudo apt-get install git curl htop. With these basic tools in place, your Linux environment will be ready for daily use.

Enabling Virtual Machine Platform

WSL 2 depends on virtualization because it runs a full Linux kernel inside Windows. Most modern computers support this feature, but you need to ensure it is turned on.

To enable it, open PowerShell with administrator rights and type the command dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart. This enables the Virtual Machine Platform feature required by WSL 2.

Once the process is complete, restart your computer so the changes take effect. After rebooting, your system will be fully prepared to run Linux distributions with the improved speed and compatibility that WSL 2 offers.

Using WSL on Windows

You can open your Linux terminal from the Start menu and run commands just like on a regular Linux system. Windows files are available inside WSL under mnt/c, and Linux files can be viewed in File Explorer through \\wsl$. WSL also supports Linux GUI apps, which open in separate windows and work alongside your Windows programs.

Installing Linux Packages

WSL lets you install software with simple commands like apt or apt-get. For example, run sudo apt-get install htop to install htop and monitor system performance. You can add programming tools, utilities, or any other package to customize your setup.

WSL on Windows 10

Windows 10 requires a few extra steps compared to Windows 11. You need to enable WSL and virtualization features manually before installing a distribution. Ubuntu is the default choice, but you can install others as needed. Users may occasionally encounter issues during this process, so understanding the 0x80240007 Windows error can help troubleshoot installation problems effectively.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

Windows Subsystem for Linux brings Linux tools and apps directly to your Windows desktop. Following this guide, you can quickly set up your preferred Linux distribution. This makes it easy to install Windows Subsystem for Linux (WSL) on Windows 11 and start using Linux alongside Windows.

In brief, our Support Experts demonstrated how to fix the “554 5.7.1 : Relay access denied” error.