Forum Discussion
How to install the Linux Windows Subsystem in Windows 11
Install using Command Prompt
Step 1: Start CMD with administrative privileges.
Step 2:Execute "wsl --install" command.
Step 3:Run "wsl -l -o" to list other Linux releases.
Step 4:You can install your favorite Linux distribution, use "wsl --install -d NameofLinuxDistro."
When the operation is finished, restart your PC.You can start the Linux distribution from your Start menu.
Install Using Windows Features
Step 1:Open the Start menu and type "Windows features" into the search bar and click on "Turn Windows Features On or Off".
Step 2:Tick the "Windows Subsystem for Linux" checkbox and press the “OK” button.
Step 3:When the operation is complete, you will be asked to restart your computer.
After that, use the Microsoft Store app and look for the Linux distribution you want to use.
Install the Linux distro of your choice.
Step 4:The Linux distribution can be launched from the Start menu.
- AKIMFIron ContributorDid I something wrong with my wsl ubuntu installation?
Linux is running, but gets errors cloning from github out of the box.
Like "fatal: unable to access 'https://github.com[..]" - collinsj6871Copper ContributorSo, do we have to install the subsystem or is already on my Windows 11 Desktop?
- Barry_BazzaBrass Contributor
- Deleted
To install the Linux Windows Subsystem (WSL) in Windows 11, follow these steps:
- Open the Windows Start menu and search for "Turn Windows features on or off".
- Click on the search result for "Turn Windows features on or off".
- Scroll down to the "Windows Subsystem for Linux" option and check the box next to it.
- Click the "OK" button to confirm and start the installation process.
- Wait for the installation to complete and then restart your computer.
After your computer restarts, you'll be able to use the Linux Windows Subsystem on Windows 11. You can install Linux distributions from the Microsoft Store or by downloading a distribution from the official website and manually installing it using PowerShell. To use the Linux terminal, open the Start menu and search for the name of the Linux distribution you installed. Good Luck!
- neoxcharaCopper Contributor
@sometimes, guys, do not reply that wsl crashed with 0x800701bc
use this command in cmd: wsl --set-default-version 1
and trya again - archjizeeCopper Contributorgood day from this end, i am trying to download kali linux but its not in the options option. i am kiddie in this though.
- jimmaphyBrass Contributor
Are you using the right name archjizee? Doing a search for installable distributions using the top command (see image for output), I was able to determine the name of the distribution to be kali-linux. Using this name, I was able to install the distribution using the second command.
# Search for all available distros wsl --list --online # Install kali wsl --install -d kali-linux
- aditikeertaniCopper Contributor
- mamaliamCopper Contributor
ammarjaved what should i do for this?
- Arthur1315Copper Contributorthanx got linux 1.2.5 and ubuntu at firs command
- LurtoonansBrass Contributor
Really a great tutorial and now it is easy to play around with Linux on a PC.
- Erma_SparksCopper Contributor
Is 4GB RAM good to run Linux Subsystem on a Windows 11 PC?