You can install Windows Subsystem for Linux (WSL) via a command
The Windows Subsystem for Linux (WSL) has been used by many developers, but Microsoft has always decided that the existing installation process is too complicated and is not conducive to improving the user experience.
The main reason is that in the existing process, users need to enable the WSL function to download components and installation packages and then restart. After restarting, they also need to go to the Microsoft Store to download a specific release.
Although this process is not complicated for developers, it may take time, so Microsoft decided to simplify the entire deployment process directly through the command line.
The newly added command line operation only needs to use the installation instructions to automatically download the function, enable the function, download the default release version, and complete the deployment in just a few minutes.
Microsoft’s new quick installation command is wsl –install is currently available on Windows 10 v2004+, including 20H2/21H1, etc. can also be used.
The user only needs to open a command prompt window and enter the command to automatically install it. During installation, the system will automatically detect the necessary components and obtain the required files online.
In order to simplify the user’s use of this command, the Ubuntu subsystem will also be installed by default, and it is not necessary for the user to manually download and install it in the Microsoft Store after the deployment is completed.
Of course, Microsoft also provides more releases for users to choose from. Users can use the wsl –list –online command to check the default installation package currently provided by Microsoft.
After the basic functions are deployed, the user can directly use the command to automatically download the specified version. If you need other versions, you can go to Microsoft Store to find and install them manually.