Script to install
rustup
and the Rust toolchain. More information: https://forge.rust-lang.org/infra/other-installation-methods.html#rustup.
rustup-init
to install rustup
and the default Rust toolchain:curl https://sh.rustup.rs -sSf | sh -s
rustup-init
and pass arguments to it:curl https://sh.rustup.rs -sSf | sh -s -- arguments
rustup-init
and specify additional components or targets to install:rustup-init.sh --target target --component component
rustup-init
and specify the default toolchain to install:rustup-init.sh --default-toolchain toolchain
rustup-init
and do not install any toolchain:rustup-init.sh --default-toolchain none
rustup-init
and specify an installation profile:rustup-init.sh --profile minimal|default|complete
rustup-init
without asking for confirmation:rustup-init.sh -y