Find file
83 lines (55 sloc) 2.65 KB
[% WRAPPER title="Getting Nix" menu='nix' %]
<section><h2>Latest release</h2>
<p>The latest and recommended version of Nix is
<strong>[%latestNixVersion%]</strong>. The quickest way to install it
on Linux and Mac OS X is to run the following in a shell (as a user
other than <tt>root</tt>):
<pre><span class="muted">$</span> curl <a href="[%root%]nix/install"></a> | sh</pre>
Make sure to follow the instructions output by the script.
You may want to verify the integrity of the installation script using GPG:
<span class="muted">$</span> curl -O <a href="[%root%]nix/install"></a>
<span class="muted">$</span> curl -O <a href="[%root%]nix/install.sig"></a>
<span class="muted">$</span> gpg2 --verify ./install.sig
<span class="muted">$</span> sh ./install
The signing key has fingerprint <tt>B541 D553 0127 0E0B CF15 CA5D 8170 B472 6D71 98DE</tt>.</p>
<p>The installation script requires that you have <tt>sudo</tt> access
to <tt>root</tt>, unless the directory <tt>/nix</tt> already exists
and is writable by you. You can uninstall Nix simply by running <tt>rm
-rf /nix</tt>. See <a href="[%nixManual%]#chap-installation">the
manual</a> for more information.</p>
<p>The following are also available:
<li><a href="[%latestNixMirror%]/nix-[%latestNixVersion%].tar.xz">Source tarball</a>.</li>
packages for several platforms</a>, including RPMs, Debs and binary
tarballs for Mac OS X.</li>
<li><a href="[%nixManual%]#ssec-relnotes-[%latestNixVersion%]">Release
<li><a href="[%nixManual%]">Manual</a> (<a
href="[%latestNixMirror%]/manual.pdf">PDF</a>). Please read the <a
href="[%nixManual%]#chap-quick-start">“Quick Start” section of the
manual</a> for an overview of how to install and use Nix.</li>
<section><h2>Continuous builds</h2>
<p>You can grab the latest bleeding-edge pre-release from our <a
href="../hydra">continuous build system</a>:</p>
latest development release of Nix</a> (<a
tarball</a> and <a
<section><h2>Old releases</h2>
<p>Old releases are <a href="/releases/nix">also available</a>.</p>
[% END %]