nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

does not obey $CARGO_INSTALL_ROOT #201

Closed tshepang closed 2 years ago

tshepang commented 2 years ago

I have CARGO_INSTALL_ROOT set to /usr/local, and...

❯ cargo install-update --all
Package  Installed  Latest  Needs update

No packages need updating.
Overall updated 0 packages.

Adding --root /usr/local helps...

❯ cargo install-update --all --root /usr/local
    Updating registry 'https://github.com/rust-lang/crates.io-index'

Package         Installed  Latest                           Needs update
alacritty       v0.10.1    v0.10.1 (v0.11.0-rc1 available)  No
bandwhich       v0.20.0    v0.20.0                          No
bat             v0.22.1    v0.22.1                          No
...
nabijaczleweli commented 2 years ago

Indeed! Fixed in v10.0.1, cheers