apt-get update -y && apt-get dist-upgrade -y && apt-get install build-essential -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup toolchain remove nightly
rustup default nightly
rustup target add x86_64-unknown-linux-musl
source $HOME/.cargo/env
cargo --version
Created
June 29, 2020 23:31
-
-
Save ssrlive/b91106661318908d3e1fa694f7c53d0c to your computer and use it in GitHub Desktop.
Rust installing on Linux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment