Commit 0330540
authored
Update cli.md (#1344)
Installing using the given command didn't work:
```
cargo install josh --git https://github.com/josh-project/josh.git
Updating git repository `https://github.com/josh-project/josh.git`
error: there is nothing to install in `josh v22.4.15 (https://github.com/josh-project/josh.git#60dc5873)`, because it has no binaries
`cargo install` is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency to a Cargo project with `cargo add`.
```
Changing this to `cargo install josh-filter …` successfully installed `josh-filter`1 parent 60dc587 commit 0330540
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments