A command-line interface to interact with crates.io
If you have Rust on your system:
cargo install crates-io-cliIf you are on NetBSD, a native package is available. To install it, simply run:
pkgin install crates-io-cli... and if you have to install from scratch, the following will install Rust and the CLI at once:
{ command -v rustup 2>&1 >/dev/null || curl https://sh.rustup.rs -sSf | sh } && cargo install crates-io-cliTo install Rust on windows, you can follow the instrutions on rustup.rs.
You can learn what it can do by using the --help flag:
crates --help


