From dd842ecf6b9517bcfe5575af7e9ec7f4828e95f4 Mon Sep 17 00:00:00 2001 From: Nikolai Mishin Date: Sat, 25 May 2024 22:19:40 +0200 Subject: [PATCH] docs: add info about installation via Nix Signed-off-by: Nikolai Mishin --- README.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 52f47700..d109e3c0 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ sudo dpkg -i cosign_${LATEST_VERSION}_amd64.deb #### Automatic Installation -
Arch Linux (AUR)
+
Arch Linux (AUR, Nix)
This package is available on the Arch Linux User Repository. It can be installed using the yay AUR helper: @@ -156,22 +156,37 @@ It can be installed using the yay AUR helper: yay tenv-bin ``` +Installation via Nix package manager: +```sh +nix-env -i tenv +``` +
-
MacOS (Homebrew)
+
MacOS (Homebrew, Nix)
```console brew install tenv ``` +Installation via Nix package manager: +```console +nix-env -i tenv +``` +
-
Windows (Chocolatey)
+
Windows (Chocolatey, Nix)
```console choco install tenv ``` +Installation via Nix package manager: +```console +nix-env -i tenv +``` +
Ubuntu
@@ -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 +``` +