Skip to content

Commit 0330540

Browse files
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/reference/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ history, taking a filter specification as argument.
99

1010
It can be installed with the following Cargo command, assuming Rust is installed:
1111
```shell
12-
cargo install josh --git https://github.com/josh-project/josh.git
12+
cargo install josh-filter --git https://github.com/josh-project/josh.git
1313
```
1414

1515
git-sync

0 commit comments

Comments
 (0)