My Tech Notes
Search This Blog
Change Rust install location
By default, Rust will be installed to home directory:
~/.cargo
and
~/.rustup
. To change the location,
Set
CARGO_HOME
and
RUSTUP_HOME
environment variable before installation
Install Rust using
rust-init
Update
PATH
environment variable to install
$CARGO_HOME/bin
see also
Overriding Rust installation default paths `$HOME/.cargo` and `$HOME/.rustup`
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment