1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

Add fish shell syntax for process substitution

This commit is contained in:
David Dunn 2022-12-17 13:11:48 +02:00 committed by GitHub
parent e161484f3f
commit 4965408021
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,14 @@ $ sh <(curl -L https://nixos.org/nix/install) --daemon
For security you may want to [verify the installation script] using GPG signatures.
:::
:::{note}
If using [fish shell](https://fishshell.com/) there is different syntax for process substitution:
```fish
$ sh (curl -L https://nixos.org/nix/install | psub) --daemon
```
:::
## macOS
Install Nix via the recommended [multi-user installation]:
@ -26,6 +34,14 @@ $ sh <(curl -L https://nixos.org/nix/install)
For security you may want to [verify the installation script] using GPG signatures.
:::
:::{note}
If using [fish shell](https://fishshell.com/) there is different syntax for process substitution:
```fish
$ sh (curl -L https://nixos.org/nix/install | psub)
```
:::
## Windows (WSL2)
Install Nix via the recommended [single-user installation]:
@ -44,6 +60,14 @@ $ sh <(curl -L https://nixos.org/nix/install) --daemon
For security you may want to [verify the installation script] using GPG signatures.
:::
:::{note}
If using [fish shell](https://fishshell.com/) there is different syntax for process substitution:
```fish
$ sh (curl -L https://nixos.org/nix/install | psub) --daemon
```
:::
[systemd support]: https://learn.microsoft.com/en-us/windows/wsl/wsl-config#systemd-support
## Docker