1
0
Fork 0
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:
Domen Kožar 2023-01-24 16:40:41 +00:00 committed by GitHub
commit ea42f78c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}