Examples (5)
Install a package from <https://crates.io> (the version is optional - latest by default)
cargo install package@versionInstall a package from the specified Git repository
cargo install --git repo_urlBuild from the specified branch/tag/commit when installing from a Git repository
cargo install --git repo_url --branch|tag|rev branch_name|tag|commit_hashInstall a package from a local directory
cargo install --path path/to/packageList all installed packages and their versions
cargo install --listmade by @shridhargupta | data from tldr-pages