Install Kali Linux on Windows 11 Using WSL:
Windows Subsystem for Linux, commonly referred to as WSL is a feature in Windows 11 that
allows you to directly run Linux environments on your Windows computer.
Requirements:
Virtualization needs to be enabled on your BIOS.
Running x64 system Version 1903 or higher, with Build 18362 or higher.
Open Windows PowerShell>Run as Administrator
PS C:\Windows\system32> systeminfo
1 | P a g e Created by Ahmad Ali E-Mail: [email protected] , WhatsApp: 00966564303717
PS C:\Windows\system32> dism.exe /online /enable-feature
/featurename:VirtualMachinePlatform /all /norestart
PS C:\Windows\system32> dism.exe /online /enable-feature /featurename:Microsoft-
Windows-Subsystem-Linux /all
Or you can install from Turn Windows features on or off
Virtual Machine Platform
Windows Subsystem for Linux
Windows PowerShell Commands
PS C:\Windows\system32> wsl --set-default-version 2
PS C:\Windows\system32> wsl --status
PS C:\Windows\system32> wsl --list --online
PS C:\Windows\system32> wsl --install -d kali-linux
PS C:\Windows\system32> wsl --install --distribution kali-linux
PS C:\Windows\system32> wsl --update
PS C:\Windows\system32> wsl --shutdown
PS C:\Windows\system32> wsl --list
PS C:\Windows\system32> wsl --set-default kali-linux
2 | P a g e Created by Ahmad Ali E-Mail: [email protected] , WhatsApp: 00966564303717
After you enter the username and password, the process will move you into the Kali Linux
system with your desired username.
Kali Linux Commands
└─$ sudo apt update
└─$ sudo apt install kali-win-kex
└─$ kex --win –s
└─$ kex --esm --ip –s
└─$ cat /etc/os-release
└─$ exit
Win-KeX provides a GUI desktop experience for Kali Linux in Windows Subsystem for Linux WSL.
3 | P a g e Created by Ahmad Ali E-Mail: [email protected] , WhatsApp: 00966564303717