Setting Up Windows Subsystem for Linux (WSL) on Windows 11 and 10 Step 1: Enable Required Features Run PowerShell as an administrator and execute the commands based on your system architecture. For x64 architecture: $ dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart $ Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart For ARM64 architecture: $ dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart Step 2: Install Ubuntu from Microsoft Store 1. Open the Microsoft Store, search for **Ubuntu**, and install it. 2. Restart your machine after installation. Step 3: Update WSL To use WSL 2 on Windows 10 (64-bit): 1. Download and install the WSL 2 update package from the following link: WSL Update for x64 https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi Step 4: Convert WSL 1 to WSL 2 1. Check the current version of installed WSL distributions: $ wsl -l -v 2. Set the default WSL version for Ubuntu to WSL 2: $ wsl.exe --set-version Ubuntu 2 3. Verify the change: wsl -l -v