- Open PowerShell (Run as Administrator)
- Command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Command:
- Note: Restart
- Open PowerShell (Run as Administrator)
- Command:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Command:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- Command:
- Note: Restart
- Download Linux Kernel: https://aka.ms/wsl2kernel
- Install the .exe file
- Open PowerShell (Run as Administrator)
- Command:
wsl --set-default-version 2
- Command:
- Open Microsoft Store
- Search for “Kali Linux”
- Install it by clicking “Get” button
- Run Kali Linux
- Click “Windows” button
- Search for Kali Linux —> Run it
- Now it ask for Username and Password
- Enter new username:
- New Password:
- Re-Type New Password:
- Done.
Kali Linux installation on windows 10 is complete. Now you can use it in command-Line Interface (CLI)