First download the rustup installer
curl https://sh.rustup.rs -sSf >rustup.sh
Launch it, adding the -y
flag to install even though Rust is already installed.
sh rustup.sh -y
Finally edit your .bash_profile
or .profile
so that $HOME/.cargo/bin
is appended to the end of the path