curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Rust version manager
Download:
Linux: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Windows (installer): https://win.rustup.rs/x86_64
To use:
rustup install stable
To use new version:
rustup install nightly
To use existing version:
rustup use stable