Skip to content

Commit

Permalink
Fix wsl --import
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Aug 20, 2024
1 parent 0bec2bf commit 18897c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ First, [download the latest release](https://github.com/nix-community/NixOS-WSL/
Then open up a PowerShell and run:

```powershell
wsl --version 2 --import NixOS $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz
wsl --import NixOS --version 2 $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz
```

Or for Command Prompt:

```cmd
wsl --version 2 --import NixOS %USERPROFILE%\NixOS\ nixos-wsl.tar.gz
wsl --import NixOS --version 2 %USERPROFILE%\NixOS\ nixos-wsl.tar.gz
```

This sets up a new WSL distribution `NixOS` that is installed in a directory called `NixOS` inside your user directory.
Expand Down

0 comments on commit 18897c0

Please sign in to comment.