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 featuresclick
Searchat bottom of screenclick
Turn on or off Windows FeaturesMake sure the following have check marks to the left of them
Hyper V
Virtual Machine Platform
Windows Subsystem Linux
Windows Hypervisor Platform
Click
OKto apply the changesOpen Microsoft Store
Search for
DebianTip
You can use any Linux Distribution you want, Windows Subsystem Linux installs Ubuntu by default
Click
Getto installWhen the installation is successful the computer will ask you for a
USERNAME, use something you will rememberNext 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/returnwhen done and it will ask you to retype the password to confirm itafter installing Windows Subsystem Linux open Visual Studio Code and install the WSL extension
Press
F1on the keyboard while is Visual Studio Code and selectWSL:Connect to WSLto open a terminal in Windows Subsystem LinuxOpen 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