• Skip to main content
  • Skip to primary sidebar

Master Your Tech

Mobile phones, software, consumer electronic how-to guides

  • iPhone
  • Excel
  • Powerpoint
  • Word
  • Google Drive
  • Tech
  • Guides
You are here: Home / Guides / How to Install WSL2 on Windows 11: Step-by-Step Guide

How to Install WSL2 on Windows 11: Step-by-Step Guide

posted on January 12, 2026

How to Install WSL2 on Windows 11

Installing WSL2 (Windows Subsystem for Linux) on Windows 11 lets you run a Linux environment directly on your Windows machine. To get started, enable WSL through the Windows Features, update to WSL2, and then install a Linux distribution from the Microsoft Store. This setup will give you the power and flexibility of Linux right on your Windows desktop.

Step-by-Step Tutorial on Installing WSL2 on Windows 11

Setting up WSL2 on your Windows 11 machine is a straightforward process. Follow these steps, and you’ll have Linux running in no time.

Step 1: Enable Windows Subsystem for Linux

Open the "Windows Features" dialog and check the box for Windows Subsystem for Linux.

To do this, type "Turn Windows features on or off" in the Start Menu search bar. Once you check the box, click OK and restart your computer when prompted.

Step 2: Update to WSL2

Download and install the WSL2 Linux kernel update package.

Visit the official Microsoft WSL2 page to find the download link for the update package. Run the installer and follow the prompts to complete the installation.

Step 3: Set WSL2 as Default Version

Open Command Prompt and type wsl --set-default-version 2.

This command ensures that all future Linux installations will use WSL2. It gives you the benefits of improved performance and full system call compatibility.

Step 4: Install a Linux Distribution

Open the Microsoft Store and choose a Linux distribution to install.

Search for popular distributions like Ubuntu or Debian, and click "Install." Once done, launch the distribution to complete the initial setup.

Step 5: Complete the Linux Setup

Follow the on-screen instructions to set up your Linux user account.

You’ll need to create a username and password. After this step, your Linux environment is ready to use on Windows 11.

Once you’ve completed these steps, you’ll have a full Linux shell right within Windows 11. You can start installing packages, compiling code, or just exploring Linux commands.

Tips for Installing WSL2 on Windows 11

  • Ensure your Windows 11 has the latest updates before starting the installation.
  • If you encounter issues, check your BIOS settings to ensure virtualization is enabled.
  • Use the wsl --list --verbose command to check your installed Linux distributions and their WSL versions.
  • Customize your Linux shell with themes or additional tools for a more personalized experience.
  • Regularly update your Linux distribution using the package manager (e.g., sudo apt update && sudo apt upgrade for Ubuntu).

Frequently Asked Questions

What is WSL2?

WSL2 is the second version of Windows Subsystem for Linux. It provides a full Linux kernel and improved performance.

Can I run multiple Linux distributions on WSL2?

Yes, you can install and switch between multiple distributions through the Microsoft Store.

Is it possible to access Windows files from WSL2?

Absolutely, your Windows files are accessible under the /mnt directory in WSL2.

How do I uninstall a Linux distribution?

Go to the Microsoft Store, find the installed distribution, and select "Uninstall."

Is WSL2 suitable for development work?

Yes, WSL2 is great for development, providing a powerful Linux environment capable of handling various programming tasks.

Summary of Steps

  1. Enable WSL in Windows Features.
  2. Download and install the WSL2 kernel update.
  3. Set WSL2 as the default version.
  4. Install a Linux distribution from the Microsoft Store.
  5. Complete the Linux setup process.

Conclusion

Installing WSL2 on Windows 11 opens a world of opportunity for both developers and curious users. With just a few steps, you can enjoy the power of Linux alongside your Windows applications, creating a versatile computing environment. Whether you’re coding, experimenting, or simply exploring, WSL2 is a fantastic tool that bridges the gap between Windows and Linux.

Consider diving deeper into Linux commands and features, or explore the vast array of software available on Linux. The flexibility and performance improvements of WSL2 make it an excellent choice for anyone looking to expand their technical horizons. So, why wait? Give it a try today and unlock the full potential of your Windows 11 machine!

Matthew Burleigh
Matthew Burleigh

Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.

Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.

The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.

You can read his full bio here.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Related posts:

  • How to Install Windows 10 from Windows 7: A Step-by-Step Guide
  • How to Install Windows 7 on Windows 8: A Step-by-Step Guide
  • How to Install Windows 11 Without Internet: A Step-by-Step Guide
  • How to Install JDK in Windows 11: A Step-by-Step Guide
  • How to Install Bluetooth Driver in Windows 11: A Step-by-Step Guide
  • How to Install APK in Windows 11: A Step-by-Step Guide
  • How to Install Fonts Windows 10: A Step-by-Step Guide for Beginners
  • How to Install Windows 10 on Chromebook: A Step-by-Step Guide
  • How to Install Jupyter Notebook in Windows: A Step-by-Step Guide
  • How to Do a Fresh Install of Windows 11: A Step-by-Step Guide
  • How to Install Windows 8.1: A Step-by-Step Guide for Beginners
  • How to Install Windows 7 onto New Hard Drive: Step-by-Step Guide

Filed Under: Guides

Search

Primary Sidebar

Latest Posts

  • How to Reset Graphics Driver on Windows 11: A Step-by-Step Guide
  • How to Get MAC Address on Windows: A Step-by-Step Guide
  • How to Type Spanish Accents on Windows: A Comprehensive Guide
  • How to See System Specs in Windows 11: A Comprehensive Guide
  • How to Make Windows 11 Taskbar Look Like Windows 10 Easily
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Copyright © 2026 MasterYourTech.com