Open administrator Terminal
Right-click Start and choose **Terminal (Admin)**. Confirm the elevation prompt.
Install Ubuntu using Windows Subsystem for Linux and configure a Linux development environment.
Unregistering a WSL distribution permanently deletes its Linux filesystem and installed applications.
Install **WSL2** and **Ubuntu**, create your Linux user, and verify the installed distribution.
Right-click Start and choose **Terminal (Admin)**. Confirm the elevation prompt.
Run the Windows Subsystem for Linux installation command with Ubuntu as the distribution.
wsl --install -d Ubuntu
Restart if the installer requests it. Open **Ubuntu** from Start after Windows finishes loading.
Enter a Linux username and password when prompted. This account is separate from your Windows account.
Inside the Ubuntu terminal, refresh package indexes and install available package updates.
sudo apt update && sudo apt upgrade -y
Return to Windows Terminal and list installed distributions. Confirm that **Ubuntu** reports WSL version 2.
wsl --list --verbose
Check hardware virtualization in firmware settings and confirm that the Windows virtualization components are enabled.
Check internet access and run the installation again. Microsoft's WSL documentation also describes alternative download methods.
No. Ubuntu runs alongside Windows in a lightweight virtualized environment.
Yes. Windows drives are accessible through WSL mount locations.
Back up Linux files first. Run the distribution unregister command to delete Ubuntu's filesystem, then remove Ubuntu and WSL components if no longer required.
Free · no account needed · tracks your progress