Add Nix/NixOS install in README.md

This commit is contained in:
Alexandre GV 2021-04-01 13:10:43 +02:00 committed by GitHub
parent 64880972b0
commit b5b377444e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,6 +131,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