WSL: Difference between revisions
imported>Tetov m Fix header hierarchy |
Further details on WSL2 installation |
||
| Line 3: | Line 3: | ||
== Setup == | == Setup == | ||
Ensure that WSL is installed and up to date | Ensure that WSL is installed and up to date. | ||
<syntaxhighlight lang="powershell"> | <syntaxhighlight lang="powershell"> | ||
wsl --install | |||
wsl --update | wsl --update | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Sometimes you'll have to install WSL2 manually by [https://github.com/microsoft/WSL/releases downloading the msi-installation package]. | |||
NixOS is [https://github.com/microsoft/WSL/issues/11206 not yet packaged] as a official WSL distribution or on the Microsoft store. Download the latest release of <code>nixos-wsl.tar.gz</code> from the [https://github.com/nix-community/NixOS-WSL/releases NixOS-WSL Github page]. | NixOS is [https://github.com/microsoft/WSL/issues/11206 not yet packaged] as a official WSL distribution or on the Microsoft store. Download the latest release of <code>nixos-wsl.tar.gz</code> from the [https://github.com/nix-community/NixOS-WSL/releases NixOS-WSL Github page]. | ||