cargo-upgrade

Tiny cli utility to update all globally installed cargo crates

MIT License

Downloads
2.4K
Stars
5
Committers
3

Cargo Upgrade

This tool is designed to help you upgrade your globally installed cargo binaries to the latest version.

Installation

cargo install cargo-upgrade-command

Available Commands

cargo upgrade

This command will upgrade all of your globally installed cargo binaries to the latest version.

cargo upgrade --outdated

This command will show you if any of your globally installed cargo binaries are out of date.

alias: cargo upgrade -o or cargo upgrade o or cargo upgrade list

How it works

To get outdated binaries, it will parse cargo install --list and then compare the version of each crate with the version in cargo search <crate> --limit=1.

Then if upgrading, it will run cargo install --locked <crate>.