This restriction exists in order to ensure the integrity and safety goals that S Mode delivers: Read this post for more information.
If the Microsoft Store app is not available, you can download and manually install Linux distros by clicking these links:. Follow the installation instructions to install your downloaded distro s.
Here's a sample instruction to download Ubuntu Windows 10 Spring Update or later includes the popular curl command-line utility with which you can invoke web requests i. You can use curl. In the above example, curl. If you're using Windows 10 you can install your distro with PowerShell. If you are using Windows server, or run into problems running the command above you can find the alternate install instructions on the Windows Server documentation page to install the.
Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services.
Privacy policy. If you're running an older build, or just prefer not to use the install command and would like step-by-step directions, see WSL manual installation steps for older versions.
This command will enable the required optional components, download the latest Linux kernel, set WSL 2 as your default, and install a Linux distribution for you Ubuntu by default, see below to change this. The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for files to de-compress and be stored on your machine.
All future launches should take less than a second. By default, the installed Linux distribution will be Ubuntu. This can be changed using the -d flag. If you run into an issue during the install process, check the installation section of the troubleshooting guide.
Once you have installed WSL, you will need to create a user account and password for your newly installed Linux distribution. See the Best practices for setting up a WSL development environment guide to learn more. We recommend following our Best practices for setting up a WSL development environment guide for a step-by-step walk-through of how to set up a user name and password for your installed Linux distribution s , using basic WSL commands, installing and customizing Windows Terminal, set up for Git version control, code editing and debugging using the VS Code remote server, good practices for file storage, setting up a database, mounting an external drive, setting up GPU acceleration, and more.
Once you have joined Windows Insiders, you can choose the channel you would like to receive preview builds from inside the Windows settings menu to automatically receive any WSL updates or preview features associated with that build.