Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cli.md #1344

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Update cli.md #1344

merged 1 commit into from
Jul 31, 2024

Conversation

colinta
Copy link
Contributor

@colinta colinta commented Jul 11, 2024

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

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`
@christian-schilling christian-schilling merged commit 0330540 into josh-project:master Jul 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants