Skip to content

Commit

Permalink
docs: add info about installation via Nix
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolai Mishin <sanduku.default@gmail.com>
  • Loading branch information
Nmishin committed May 25, 2024
1 parent 593b3a8 commit dd842ec
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,30 +148,45 @@ sudo dpkg -i cosign_${LATEST_VERSION}_amd64.deb

<a id="automatic-installation"></a>
#### Automatic Installation
<details><summary><b>Arch Linux (AUR)</b></summary><br>
<details><summary><b>Arch Linux (AUR, Nix)</b></summary><br>

This package is available on the Arch Linux User Repository.
It can be installed using the yay AUR helper:
```sh
yay tenv-bin
```

Installation via Nix package manager:
```sh
nix-env -i tenv
```

</details>

<details><summary><b>MacOS (Homebrew)</b></summary><br>
<details><summary><b>MacOS (Homebrew, Nix)</b></summary><br>

```console
brew install tenv
```

Installation via Nix package manager:
```console
nix-env -i tenv
```

</details>

<details><summary><b>Windows (Chocolatey)</b></summary><br>
<details><summary><b>Windows (Chocolatey, Nix)</b></summary><br>

```console
choco install tenv
```

Installation via Nix package manager:
```console
nix-env -i tenv
```

</details>

<details><summary><b>Ubuntu</b></summary><br>
Expand All @@ -182,6 +197,11 @@ curl -O -L "https://github.com/tofuutils/tenv/releases/latest/download/tenv_${LA
sudo dpkg -i "tenv_${LATEST_VERSION}_amd64.deb"
```

Installation via Nix package manager:
```console
nix-env -i tenv
```

</details>


Expand Down

0 comments on commit dd842ec

Please sign in to comment.