How to install the Linux Windows Subsystem in Windows 11 / ammarjaved Aug 30 2021 10:15 PM - last edited on Nov 09 2023 11:09 AM
Install using Command Prompt
wsl --install
command.wsl -l -o
to list other Linux releases.wsl --install -d NameofLinuxDistro
.When the operation is finished, restart your PC.You can start the Linux distribution from your Start menu.
Windows features
into the search bar and click on Turn Windows Features On or Off
.Windows Subsystem for Linux
checkbox and press the OK
button.After that, use the Microsoft Store app and look for the Linux distribution you want to use.
sudo nano /etc/wsl.conf
dir \\wsl$\Ubuntu\home\%USERNAME%
https://superuser.com/a/1502631
With the current Windows 10 Insider (Fast ring: Windows 10 build 19025.1) you can mount your distro as a network drive.
WSL is accessible as wsl$, the path is your distribution name (wsl -l -q).
For example
net use U: \\wsl$\Ubuntu /PERSISTENT:YES