Look into Bash Extension for further details.
When running for the first time, WSL may require login information - keep in mind that you have just installed a full Linux distribution, so it needs a username and password. Running the WSL Bash Shell for the First Time You can even launch WSL by typing in wsl at a PowerShell window.
When you have done so, open the Start menu, and type in wsl. Once the command has finished running, it may direct you to restart your computer.
įor example, if you’d like to install Debian instead of Ubuntu, you would type wsl -install -d Debian.
By default, it will install WSL and set it up with the Ubuntu distribution, which is very commonly used.Īdditionally, you can install another Linux distribution by listing available ones by typing wsl -list -online and then typing wsl -install -d.
This tutorial will show how to set up the Windows Subsystem for Linux (WSL) to add a Bash shell to Windows. Installing WSL gives the user access to a command-line shell, in most cases Bash, allowing UNIX-literate developers to start using their favorite tools immediately once WSL has been set up by simply starting Bash in a new window. The capstone feature of this effort is the Windows Subsystem for Linux (WSL), a lightweight virtual machine capable of running a full Linux distribution entirely within Windows, taking away the work of setting up a virtual machine or dual-boot setup from the user. Microsoft’s recent embrace of Linux has produced some great features in Windows. Running the WSL Bash Shell for the First Time.Install WSL for Recent Versions of Windows.