Installing Windows Subsystem for Linux (WSL) (2026)

By Xah Lee. Date: . Last updated: .

wsl install

here's a log of me installing Windows Subsystem for Linux (WSL) .

the steps are:

  1. turn on the virtualization mode (svm mode). Go to your computer Unified Extensible Firmware Interface (UEFI) or BIOS. You do this by holding Delete ⌦ key. or F2 or F1 or F10MSI Click BIOS, enable secure boot, virtualization (svm) (2026)
  2. run wsl --install. this installs and prepares wsl. Then Reboot.
  3. run wsl --install again. this installs linux os. by default, ubuntu. Then reboot.
wsl linux 2026-04-19 2a8e4
wsl linux 2026-04-19 2a8e4
wsl linux 2026-04-19 2af3b
wsl linux 2026-04-19 2af3b
wsl install 2026-04-19 2ce04
wsl install 2026-04-19 2ce04
wsl install 2026-04-19 2cf3f
wsl install 2026-04-19 2cf3f
wsl_linux 2026-04-19 2d208
wsl_linux 2026-04-19 2d208
wsl_linux 2026-04-19 2d45b
wsl_linux 2026-04-19 2d45b
wsl_linux 2026-04-19 33858
wsl_linux 2026-04-19 33858
wsl_linux 2026-04-19 33a98
wsl_linux 2026-04-19 33a98

Starting linux

wsl_linux 2026-04-19 33d1f
wsl_linux 2026-04-19 33d1f
wsl_linux 2026-04-19 33986
wsl_linux 2026-04-19 33986

accesing Microsoft Windows files from linux

when in wsl, the Microsoft Windows files are mounted on

/mnt/c/

accesing linux files from Windows

when in Windows, the linux files are via the fake network file location at

\\wsl.localhost\Ubuntu\home\xah

wsl file 2026-04-21 1c46b
wsl file 2026-04-21 1c46b

you can open it, by, while in linux, type

explorer.exe .

what's //wsl.localhost , how does it work

wsl_linux 2026-04-20 18b24
wsl_linux 2026-04-20 18b24

Linux in Microsoft Windows