As per their docs, to download rustup and install Rust on a UNIX system, run the command:
rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update