Windows Subsystem for Linux
https://learn.microsoft.com/en-us/windows/wsl/install
wsl --install
To install WSL offline, you need to do these steps:
-
Download and install latest WSL MSI package from the GitHub releases page
-
Open a PowerShell window with admin privileges and run
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartto enable the Virtual Machine Platform optional component. You will likely need to restart your computer for this to take effect. -
Install a distribution via a .wsl file. You can find URLs to download these files at DistributionInfo.json for your chosen distro.
wsl --set-version
wsl --set-version <Distribution Name> 2
ex: wsl --set-version Ubuntu-20.04 2
wsl --install -d <Distribution Name>
wsl.exe --list --online
wsl -l -o
wsl -l -v
wsl -s <DistributionName>
wsl --set-default <DistributionName>
ex : wsl -s Debian