mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
Merge pull request #422 from doubledup/patch-1
Make install command in documentation compatible with fish shell
This commit is contained in:
commit
ea42f78c36
|
@ -9,7 +9,7 @@
|
|||
Install Nix via the recommended [multi-user installation]:
|
||||
|
||||
```shell-session
|
||||
$ sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||
$ curl -L https://nixos.org/nix/install | sh -s -- --daemon
|
||||
```
|
||||
|
||||
:::{note}
|
||||
|
@ -23,7 +23,7 @@ For security you may want to [verify the installation script] using GPG signatur
|
|||
Install Nix via the recommended [multi-user installation]:
|
||||
|
||||
```shell-session
|
||||
$ sh <(curl -L https://nixos.org/nix/install)
|
||||
$ curl -L https://nixos.org/nix/install | sh
|
||||
```
|
||||
|
||||
:::{note}
|
||||
|
@ -37,13 +37,13 @@ For security you may want to [verify the installation script] using GPG signatur
|
|||
Install Nix via the recommended [single-user installation]:
|
||||
|
||||
```shell-session
|
||||
$ sh <(curl -L https://nixos.org/nix/install) --no-daemon
|
||||
$ curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
|
||||
```
|
||||
|
||||
However, if you have [systemd support] enabled, install Nix via the recommended [multi-user installation]:
|
||||
|
||||
```shell-session
|
||||
$ sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||
$ curl -L https://nixos.org/nix/install | sh -s -- --daemon
|
||||
```
|
||||
|
||||
:::{note}
|
||||
|
|
Loading…
Reference in a new issue