summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Goodman <wagoodman@users.noreply.github.com>2023-07-06 10:36:03 -0400
committerGitHub <noreply@github.com>2023-07-06 10:36:03 -0400
commitf5458e6b571d5f629d92febcfd38075269424a51 (patch)
treedc3c7e1678162967785edf85a89d14f4ffd38b0d
parentb6961534af47758c269f8731a51f2272b60883f9 (diff)
parentb5b377444ebc02214d83b7f59ccdc5023ffd2f55 (diff)
Merge pull request #348 from alexandregv/patch-1
Add Nix/NixOS package installation instructions
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 25c1e16..752c9bc 100644
--- a/README.md
+++ b/README.md
@@ -132,6 +132,17 @@ go get github.com/wagoodman/dive
```
*Note*: installing in this way you will not see a proper version when running `dive -v`.
+**Nix/NixOS**
+
+On NixOS:
+```bash
+nix-env -iA nixos.dive
+```
+On non-NixOS (Linux, Mac)
+```bash
+nix-env -iA nixpkgs.dive
+```
+
**Docker**
```bash
docker pull wagoodman/dive