Skip to content

Commit

Permalink
Update cli.md (#1344)
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
colinta authored Jul 31, 2024
1 parent 60dc587 commit 0330540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ history, taking a filter specification as argument.

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

git-sync
Expand Down

0 comments on commit 0330540

Please sign in to comment.