Install Nix

Install Nix on any Linux distribution, MacOS and Windows (via WSL) via the recommended multi-user installation:

sh <(curl -L https://nixos.org/nix/install) --daemon

Note: For security you may want to verify installation script using GPG signatures.

Verify installation

Check that the installation was successful:

$ nix-env --version
nix-env (Nix) 2.3.4