How to list all packages installed globally via cargo install?
Hello everyone! I recently started learning Rust and actively use `cargo install` to install various utilities, for example, `ripgrep`, `bat`, and `fd-find`. Over time, I've installed quite a few tools, and now I want to see what exactly is installed globally, so I can possibly remove unnecessary ones.
I tried the `cargo list` command, but it didn't work — Cargo gave an error that no such command exists. Then I looked into the `~/.cargo/bin/` directory, but there's just a bunch of binaries there, and it's unclear which ones were installed via `cargo install` and which I downloaded manually. Moreover, if a package installs multiple executable files (like `cargo-edit`, for example), it's hard to figure out where they came from.
Can anyone tell me if there's a built-in Cargo command for viewing the list of globally installed packages?
No answers yet.
Log in to leave an answer