Merge pull request #348 from alexandregv/patch-1

Add Nix/NixOS package installation instructions
This commit is contained in:
Alex Goodman 2023-07-06 10:36:03 -04:00 committed by GitHub
commit f5458e6b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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