diff --git a/src/content/download/01-nix-linux.mdx b/src/content/download/01-nix-linux.mdx index f6f6e27e20..763b5f24c3 100644 --- a/src/content/download/01-nix-linux.mdx +++ b/src/content/download/01-nix-linux.mdx @@ -9,7 +9,7 @@ platform: linux Install Nix via the recommended [multi-user installation](/manual/nix/stable/installation/multi-user): ```bash -$ sh <(curl -L https://nixos.org/nix/install) --daemon +$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --daemon ``` We recommend the multi-user install if you are on Linux running systemd, with SELinux disabled and you can authenticate with `sudo`. @@ -19,7 +19,7 @@ We recommend the multi-user install if you are on Linux running systemd, with SE Install Nix via the [single-user installation](/manual/nix/stable/installation/single-user): ```bash -$ sh <(curl -L https://nixos.org/nix/install) --no-daemon +$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --no-daemon ``` Above command will perform a single-user installation of Nix, meaning that `nix` is owned by the invoking user. You should run this under your usual user account, not as `root`. The script will invoke `sudo` to create `/nix` if it doesn’t already exist. diff --git a/src/content/download/02-nix-macos.mdx b/src/content/download/02-nix-macos.mdx index 8cd5cc94f0..956e4c718a 100644 --- a/src/content/download/02-nix-macos.mdx +++ b/src/content/download/02-nix-macos.mdx @@ -9,7 +9,7 @@ platform: macos Install Nix via the **recommended** [multi-user installation](/manual/nix/stable/installation/multi-user): ```bash -$ sh <(curl -L https://nixos.org/nix/install) +$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) ``` We believe we have ironed out how to cleanly support the read-only root on modern macOS. Please [consult the manual](/manual/nix/stable/installation/installing-binary#macos-installation) on details what the installation script does. diff --git a/src/content/download/03-nix-wsl2.mdx b/src/content/download/03-nix-wsl2.mdx index 2e47b4961f..1959be135a 100644 --- a/src/content/download/03-nix-wsl2.mdx +++ b/src/content/download/03-nix-wsl2.mdx @@ -14,7 +14,7 @@ Follow to configure it, and then install Nix using: ```bash -$ sh <(curl -L https://nixos.org/nix/install) --daemon +$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --daemon ``` ### Single-user installation @@ -22,5 +22,5 @@ $ sh <(curl -L https://nixos.org/nix/install) --daemon Install Nix via the [single-user installation](/manual/nix/stable/installation/single-user) ```bash -$ sh <(curl -L https://nixos.org/nix/install) --no-daemon +$ sh <(curl -L https://releases.nixos.org/nix/nix-2.18.5/install) --no-daemon ```