Current version


Quick install

The quickest way to install Nix is to open a terminal and run the following command (as a user other than root with sudo permission):

$ curl -L | sh

Make sure to follow the instructions output by the script.

The installation script requires that you have sudo access to root.

Verify installation

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

$ curl -o install-nix-2.4
$ curl -o install-nix-2.4.asc
$ gpg2 --recv-keys B541D55301270E0BCF15CA5D8170B4726D7198DE
$ gpg2 --verify ./install-nix-2.4.asc
$ sh ./install-nix-2.4

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


You can uninstall Nix simply by running rm -rf /nix.


Current version


ISO image

You can install NixOS on physical hardware by burning one of the CD images onto a blank CD/DVD disk, or by copying it onto a USB stick. For installation instructions, please see the manual.

Graphical ISO image

The graphical installation ISO image contains NixOS installer as well as Desktop Environment and several applications. It’s a live CD, so it allows you to get an impression of NixOS (and the Nix package manager) without installing it.

Minimal ISO image

The minimal installation ISO image does not contain the graphical user interface, and is therefore a lot smaller. You have to run the installer from the console. It contains a number of rescue tools.


VirtualBox image includes the Plasma Desktop (was KDE) as well as the VirtualBox guest additions.

To use it

  • Download the OVA file using the button above.
  • Open VirtualBox.
  • Run File → Import Appliance from the menu.
  • Select previously downloaded OVA file.
  • Click Import.
  • You can then start the virtual machine.
  • You can log in as user demo, password demo.
  • To obtain a root shell, run sudo -i in the terminal (konsole).

Amazon EC2

NixOS can be deployed to Amazon EC2 with a pre-generated AMI image that you can select bellow.

Via AWS Management Console

You can create an instance using the AWS Management Console by selecting the region and clicking the Launch button.

Choose region:
Root storage Virtualisation AMI
EBS Hardware ami-06dc98082bc55c1fc
EBS Hardware ami-027836fddb5c56012
EBS Hardware ami-0edacd41dc7700c39
EBS Hardware ami-0b279b5bb55288059
EBS Hardware ami-04f570c70ff9b665e
EBS Hardware ami-02a3d1df595df5ef6
EBS Hardware ami-065c13e1d52d60b33
EBS Hardware ami-0857d5d1309ab8b77
EBS Hardware ami-05403e3ae53d3716f
EBS Hardware ami-048dbc738074a3083
EBS Hardware ami-0234cf81fec68315d
EBS Hardware ami-020e459baf709107d
EBS Hardware ami-04737dd49b98936c6
EBS Hardware ami-0d3002ba40b5b9897
EBS Hardware ami-069a0ca1bde6dea52
EBS Hardware ami-0b415460a84bcf9bc
EBS Hardware ami-093cba49754abd7f8

Via Command Line

You can also create an instance from the command line. For example, to create an instance in region eu-west-1 using the EC2 API tools, just run:

$ nix-shell -p ec2_api_tools
(nix-shell) $ ec2-run-instances ami-048dbc738074a3083 --region eu-west-1 -k my-key-pair