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:
parent
e161484f3f
commit
4965408021
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue