-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Currently cargo install
won't overwrite existing package if asked to install one. However, this is very inconvenient when you're testing your own binaries (after each change you need to execute two commands instead of one to get a fresh version in PATH) or if you need a binary which frequently changes upstream.
What do you think of adding a --reinstall
key to cargo install
command? When used, it would be equivalent to cargo uninstall <args> && cargo install <args without --reinstall>
, or something like it. I remember it was discussed in the RFC on cargo install
, but I didn't manage to participate in that discussion; maybe it is worth to lay out reasons why it wasn't added eventually and probably reconsider that decision, if there was one.
jgillich, rgardner, Powersource, tomprince, Alexendoo and 28 more