Install and Configure Kali Linux on the WSL service
Step 1: Enable the Windows Subsystem for Linux:
- Press Windows + S and then Type "Turn Windows Features on or off".
- Turn on Windows Subsystem for Linux and also enable Virtualisation.
Click OK and then restart the PC.
Step 2: Check requirements for running WSL 2
You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11.
Note:
To check your Windows version and build number, select Windows logo key + R, type winver, select OK. You can update to the latest Windows version by selecting Start > Settings > **Windows Update **> Check for updates.
If you're running an older build, or just prefer not to use the install command and would like step-by-step directions, see WSL manual installation steps for older versions.
Step 3: Status of Windows Subsystem for Linux:
Run Power Shell as an administrator and check whether WSL is installed or not.
Step 4: Download the Linux Kernel Update Package
Download the latest package: WSL2 Linux kernel update package for x64 machines
Step 5: Set WSL 2 as your default version
Open PowerShell and run this command to set WSL 2 as the default version when installing a new Linux distribution:
Step 6: Download and Install the Linux distribution
Download and install Linux Distribution using the below methods:
Method 1: From Microsoft store by searching distribution name:
Method 2: Check the available distribution by using this command: