Installation

Make sure to run all the following commands from PowerShell. Link to official installation document.

  1. Enable WSL if you haven’t done already:

    wsl --install --no-distribution
  2. Download nixos.wsl from the latest release.

  3. If you have WSL version 2.4.4 or later installed (wsl --version, you can open (double-click) the .wsl file to install it. It is also possible to perform the installation from a PowerShell:

    wsl --install --from-file nixos.wsl

    nixos.wsl must be the path to the file you just downloaded if you’re running the command in another directory.

  4. Run the distro:

    wsl -d NixOS