How to Install Windows Subsystem for Linux (WSL) on Windows 11 (22H2)

Below are the tl;dr steps to install Windows Subsystem for Linux (WSL) on Windows 11 (version 22H2)

  1. Open Terminal/CMD,
  2. Now run the command,
    wsl --install
    wsl install on Windows 11

    You will see some prompts asking "Do you want to allow this prompt to make changes to your device?" select yes.

    Windows Subsystem for Linux - Prompt Windows 11

    Next you should see that the installation for Ubuntu starts and may take some time based on your Internet speed.

    PS C:\Users\Sam> wsl --install
    The requested operation requires elevation.
    Installing: Virtual Machine Platform
    Virtual Machine Platform has been installed.
    Installing: Windows Subsystem for Linux
    Windows Subsystem for Linux has been installed.
    Installing: Ubuntu
    [============= 24.0% ]
  3. Once the download completes, you will be asked to restart your device.

This is not an AI-generated article but is demonstrated by a human on a Windows PC running Windows 11 version 22H2.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail:

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap