# Install doc assumes bash

**URL:** https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750
**Category:** Documentation
**Created:** [October 1, 2024, 2:45pm UTC](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750 "2024-10-01T14:45:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sfermigier](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/sfermigier/32/27581_2.png) [@sfermigier](https://discourse.nixosstag.fcio.net/u/sfermigier)
#### Post date: [October 1, 2024, 2:45pm UTC](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750/1 "2024-10-01T14:45:19Z")

</div>

On the install page, I read:

> Install Nix via the **recommended** [multi-user installation](https://nixos.org/manual/nix/stable/installation/multi-user):
> 
> ```auto
> $ sh <(curl -L https://nixos.org/nix/install)
> 
> ```

However, it doesn’t work with Fish:

```auto
fish: Invalid redirection target:
sh <(curl -L https://nixos.org/nix/install)
   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

```

I’m pretty sure there is a syntax that works with both.

---

<div class="post-metadata">

### Author: ![waffle8946](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/waffle8946/32/27221_2.png) [@waffle8946](https://discourse.nixosstag.fcio.net/u/waffle8946)
#### Post date: [October 1, 2024, 3:11pm UTC](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750/2 "2024-10-01T15:11:55Z")

</div>

You might get more support in a fish community, but you can try piping instead.

```auto
curl -L https://nixos.org/nix/install | sh

```

Or better, download the install script manually and review it before running.

---

<div class="post-metadata">

### Author: ![sfermigier](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/sfermigier/32/27581_2.png) [@sfermigier](https://discourse.nixosstag.fcio.net/u/sfermigier)
#### Post date: [October 1, 2024, 3:26pm UTC](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750/3 "2024-10-01T15:26:14Z")

</div>

My point was to improve the doc so that Fish users can copy/paste the examples without extra troubles (for both Fiash and Bash users).

---

<div class="post-metadata">

### Author: ![fricklerhandwerk](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/fricklerhandwerk/32/2029_2.png) [@fricklerhandwerk](https://discourse.nixosstag.fcio.net/u/fricklerhandwerk)
#### Post date: [October 1, 2024, 3:30pm UTC](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750/4 "2024-10-01T15:30:12Z")

</div>

You found the one outdated variant of the [too many places with installation instructions](https://github.com/NixOS/nix.dev/issues/424). Opened [a PR to fix the immediate problem](https://github.com/NixOS/nix/pull/11626), but eventually we should fix the underlying issue.

---

<div class="post-metadata">

### Author: ![sfermigier](https://discourse.nixosstag.fcio.net/user_avatar/discourse.nixosstag.fcio.net/sfermigier/32/27581_2.png) [@sfermigier](https://discourse.nixosstag.fcio.net/u/sfermigier)
#### Post date: [October 1, 2024, 3:49pm UTC](https://discourse.nixosstag.fcio.net/t/install-doc-assumes-bash/53750/5 "2024-10-01T15:49:27Z")

</div>

Thanks @fricklerhandwerk !
