Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // To install
- curl -s https://sh.rustup.rs -o rust.sh
- bash rust.sh --default-toolchain nightly --profile complete --no-update-default-toolchain --no-modify-path -y
- cat << EOF >> /root/.bashrc
- # Rust
- export PATH="/root/.cargo/bin:$PATH"
- EOF
- cargo --version
- // To uninstall
- rm -r /root/.cargo
Advertisement
Add Comment
Please, Sign In to add comment