I've installed several CLI tools using cargo install
(for instance, ripgrep). How do I see a list of all the crates I've downloaded using cargo install
? Sort of like apt list --installed
but for cargo
?
You can either use the dpkg command's log or the apt command's log. You'll have to use grep command to filter the result to list the installed packages only. This will list all the packages including the dependencies that were installed recently on your system along with the time of installation.
All binaries installed with cargo install are stored in the installation root's bin folder. If you installed Rust using rustup.rs and don't have any custom configurations, this directory will be $HOME/. cargo/bin. Ensure that directory is in your $PATH to be able to run programs you've installed with cargo install .
The command line
cargo help install
produces detailed help information. Among others it lists common EXAMPLES, e.g.
View the list of installed packages:
cargo install --list
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With