How to update a binary installed with cargo install

A while ago I did cargo install cargo-outdated. I find this tool useful-ish but don't know how to update it. Or do I just do cargo install --force cargo-outdated?

Yeaps you can do that, though it will always recompile and install cargo-outdated, even if you have the latest version.

A cargo subcommand that helps you update cargo subcommands is cargo-update:

cargo install cargo-update

# Usage:
# Note! It doesn't follow the usual convention of `cargo update <args>`
# This is because `cargo update` is already a built in cargo command
cargo install-update cargo-outdated
5 Likes