WSL 2 is now set up on your PC. The default distribution (distro) is Ubuntu, but you're free to use any others available in the Microsoft Store or from third-party sources such as Github or directly from distro makers. If you're using Windows 11 then the Windows Terminal app will be...
The project has seen a ton of support, and WSL2 is the latest and greatest. It takes things a little further and adds yet more awesomeness to the Linux experience on Windows 10 and Windows 11. Now, since the release of version 1.0, it has never been easier to set up WSL2 on your ...
We've defined arestartfunction in our~/.bash_aliasesfile to help starting up. When your machine is started up, you need to runrestartas the first commando to start all services up. This function should look something like: sudo mkdir -p /var/run/php sudo service nginx restart sudo servic...
wsl--set-default-version 2 PowerShell Download Get a linux distribution Get a distribution from the store. Example:ubuntu Launch it and create a user (not admin, if you need to run with root privilege, usesudo Installing, this may take a few minutes... Please create a default UNIX user...
To set up Kali Linux on Windows by using the WSL tool, the user must fulfill the following prerequisites: WSL:WSL enables us to run any Linux distribution on Windows. It is available in two versions “WSL1” and “WSL2”. However, to run Kali Linux, the preferable version is WSL2 as...
Next, this should already be done, but we will make sure the default version of WSL used in future distros will be the newer ‘WSL2’. Use the command below to ensure that all future Linux distros will be using WSL2: wsl --set-default-version2 ...
wsl --unregister DISTRO-NAME In the command, replaceDISTRO-NAMEfor the name of the distro you want to set as default (seestep No. 3). For example, this command unregisters Kali Linux: wsl --unregister Kali-linux Type the following command to confirm distros and pressEnter: ...
wsl --set-version Ubuntu-20.042 Remember to replace Ubuntu-20.04 with the name of your installed distribution. If you are not sure, use the wsl –l –v command to list installed distros. Up to here, we are done setting up WSL 2 on our Windows 10 system, and we can proceed to instal...
8. Summing Up 9. FAQ Windows Subsystem for Linux (WSL) is a popular feature in Windows 10/11 that allows users to run Linux commands and applications directly on their Windows machine. With the latest version, WSL2, users can also access the Linux file system natively and enjoy a more ...
We have a detailed guide that covershow you can download and set up WSL2on your PC. Follow the steps from the guide, and you will be using the WSL (and, along with it, Linux apps) in no time. 3. Cygwin Cygwinis an open-source tool that offers a UNIX/Linux-like shell to run y...