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!

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!