docs: add -L to remaining curl install commands

lf- 3 years ago
parent 2e7fcfd5b2
commit 6ed65d9b5f

@ -14,7 +14,7 @@ if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.
- If you installed Nix using the install script (,
it is safe to upgrade by running it again:
curl | sh
curl -L | sh
For more information, please see the NixOS release notes at or locally at

@ -47,7 +47,7 @@
Short version:
<prompt>$ </prompt>curl | sh
<prompt>$ </prompt>curl -L | sh
<prompt>$ </prompt>. $HOME/.nix-profile/etc/profile.d/ # …or open a fresh shell</screen>
More details in the

@ -173,7 +173,7 @@
For users of a daemon-less Nix installation on Linux or macOS, you can
upgrade Nix by running <command>curl |
upgrade Nix by running <command>curl -L |
sh</command>, or prior to doing a channel update, running
<command>nix-env -iA nix</command>.