

Once the process of installing your Linux distribution with WSL is complete, open the distribution (Ubuntu by default) using the Start menu. You will need to restart your machine during this installation process.Ĭheck the troubleshooting installation article if you run into any issues. Downloads and installs the Ubuntu Linux distribution (reboot may be required).Downloads and installs the latest Linux kernel.Enables the optional WSL and Virtual Machine Platform components.The -install command performs the following actions: Open PowerShell (or Windows Command Prompt) and enter: wsl -install If you prefer to install a Linux distribution other than Ubuntu, or would prefer to complete these steps manually, see the WSL installation page for more details. You can update using the Settings menu or Windows Update Assistant. To check your version and build number, select Windows logo key + R, type winver, select OK. To use the simplified -install command, you must be running a recent build of Windows (Build 20262+). Windows Subsystem for Linux comes with the Windows operating system, but you must enable it and install a Linux distribution before you can begin using it. Learn how to run the command to install the default Bash shell that uses Ubuntu or can be set to install other Linux distributions, use basic WSL commands, set up Visual Studio Code or Visual Studio, Git, Windows Credential Manager, databases like MongoDB, Postgres, or MySQL, set up GPU acceleration, run GUI apps, and more. A step-by-step guide to the best practices for setting up a WSL development environment.
