Skip to content

Commit 8afa40a

Browse files
committed
docs: add nix instructions
1 parent e5ea758 commit 8afa40a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
###### explainshell.com CLI implementation in Rust
55
_____________
66

7-
Needs the Rust Toolchain (available at [https://rustup.rs/]() ).
87

9-
##### Installation:
10-
```cargo install --git https://github.com/p1g30n/explainshell-cli```
8+
##### Try it out:
9+
```nix shell github:thepigeonoftime/explainshell-cli```
1110

12-
>note that ~/.cargo/bin/ must be in your $PATH
11+
##### Installation:
12+
Use your favorite way to install nix packages, or simply:
13+
```nix profile install github:thepigeonoftime/explainshell-cli```
1314

14-
##### Usage:
15+
#### Usage:
1516
```explain COMMAND [ARGS]``` (combining arguments works)
1617

1718
##### Example:
@@ -37,4 +38,4 @@ __________________________________________________
3738
-f, --file ARCHIVE
3839
use archive file or device ARCHIVE
3940
__________________________________________________
40-
```
41+
```

0 commit comments

Comments
 (0)