Latest release

The latest and recommended version of Nix is 1.11.13. The quickest way to install it on Linux and macOS is to run the following in a shell (as a user other than root):

curl | sh

Make sure to follow the instructions output by the script.

GPG Verification

You may want to verify the integrity of the installation script using GPG:

curl -o install-nix-1.11.13
curl -o install-nix-1.11.13.sig
gpg2 --recv-keys B541D55301270E0BCF15CA5D8170B4726D7198DE
gpg2 --verify ./install-nix-1.11.13.sig
sh ./install-nix-1.11.13

The signing key has fingerprint B541 D553 0127 0E0B CF15 CA5D 8170 B472 6D71 98DE. It is also available on GitHub.

The installation script requires that you have sudo access to root. You can uninstall Nix simply by running rm -rf /nix. See the manual for more information.

The following are also available:

Continuous builds

You can grab the latest bleeding-edge pre-release from our continuous build system:

Old releases

Old releases are also available.