Home > Software > System > Subsystem For Linux > Windows Subsystem for Linux 2
Details
- Package ID
- wsl2
- Version
- 3.0.5
- Downloads
- 1629121
- Website
- https://docs.microsoft.com/en-us/windows/wsl/
Summary
Windows Subsystem for Linux 2
Description
“Windows Subsystem for Linux lets developers run a GNU/Linux environment – including most command-line tools, utilities, and applications – directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup” - https://docs.microsoft.com/en-us/windows/wsl/about
Package parameters
/Version:1- the version of WSL to install. Defaults to2/Retry:true- whether to retry install on logon after computer is restarted for WSL 2. Ignored whenVersionis1and it defaults tofalse
Example: choco install wsl2 --params "/Version:2 /Retry:true"
Note
- There are checks that are performed to ensure the system supports WSL 1 or 2. If any of these checks fail, the install will fail.
- WSL 1 requires a restart before it can be used if this is a fresh install of Windows.
- WSL 2 requires a restart before it can be installed if WSL 1 wasn’t installed previously. Otherwise, it will be enabled if it detects WSL 1. https://docs.microsoft.com/en-us/windows/wsl/install-win10#update-to-wsl-2
- Important:
/Retry:trueshould only be set when installing WSL 2 on systems that didn’t have WSL 1. Setting this param totruewill schedule a self deleting task if script didn’t detect WSL. That task if created will runchoco install wsl2 -y -fin a powershell window after the computer is restarted./Retry:falseyou will have to runchoco install wsl2 -fagain manually after a restart if script didn’t detect WSL.
Comments
Loading comments...