Skip to content

Instantly share code, notes, and snippets.

@marmistrz
Created October 12, 2018 13:43
Show Gist options
  • Save marmistrz/3eabc32b4e8dbf2fd08fce4d0574c2cb to your computer and use it in GitHub Desktop.
Save marmistrz/3eabc32b4e8dbf2fd08fce4d0574c2cb to your computer and use it in GitHub Desktop.
Install Rustup alongside repository Rust

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

export PATH="$PATH:$HOME/.cargo/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment