1 2 3 4 5 6 7
The installation root is determined, in order of precedence: - `--root` option - `CARGO_INSTALL_ROOT` environment variable - `install.root` Cargo linkcargo:reference/config.html[config value] - `CARGO_HOME` environment variable - `$HOME/.cargo`