Add Nix/NixOS install in README.md
This commit is contained in:
parent
64880972b0
commit
b5b377444e
11
README.md
11
README.md
@ -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`.
|
*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**
|
**Docker**
|
||||||
```bash
|
```bash
|
||||||
docker pull wagoodman/dive
|
docker pull wagoodman/dive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user