Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/bin/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ pub struct Options {
}

pub const USAGE: &'static str = "
Install a Rust binary
Install a Rust binary, for example, additional Cargo commands

(If you're an npm user, please note this is completely unrelated to `npm install`. Please see `cargo build --help`.)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would think that ‘npm install -g’ is at least partially similar to ‘cargo install’? At least, I use -g to install node utilities for the current user, but I may be missusing this flag :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a good point, cargo install is lik npm install -g`


Usage:
cargo install [options] [<crate>...]
Expand Down