how to install Windows Subsystem Linux on WindowsΒΆ

This is one way Windows Subsystem Linux on a Windows computer so you can use Linux


Make sure your computer runs Windows 11

As of October 14th, 2025, Microsoft stopped supporting Windows 10, Windows 8.1 and Windows 7

  • search for Turn on windows features

  • click Search at bottom of screen

  • click Turn on or off Windows Features

  • Make sure the following have check marks to the left of them

    • Hyper V

    • Virtual Machine Platform

    • Windows Subsystem Linux

    • Windows Hypervisor Platform

    Click OK to apply the changes

  • Open Microsoft Store

  • Search for Debian

    Tip

    You can use any Linux Distribution you want, Windows Subsystem Linux installs Ubuntu by default

  • Click Get to install

  • When the installation is successful the computer will ask you for a USERNAME, use something you will remember

  • Next it will ask for a password, use something you will remember

    Attention

    the terminal will not show any text while you type your password, hit enter/return when done and it will ask you to retype the password to confirm it

  • after installing Windows Subsystem Linux open Visual Studio Code and install the WSL extension

  • Press F1 on the keyboard while is Visual Studio Code and select WSL:Connect to WSL to open a terminal in Windows Subsystem Linux

  • Open a terminal then type this to update the Linux package manager

    sudo apt update
    
  • type this in the terminal to install Python

    sudo apt install python3 python3-venv --yes
    

you can continue with how to manually make a python test driven development environment. If installing Windows Subsystem Linux does not work, you can use how to make a python test driven development environment on Windows without Windows Subsystem Linux instead