rustup-set
Configure rustup settings and defaults
TLDR
Set the default host triple
$ rustup set default-host [x86_64-unknown-linux-gnu]
Set the installation profile to minimal$ rustup set profile minimal
Set the installation profile to default (includes rustfmt and clippy)$ rustup set profile default
Enable automatic self-updates$ rustup set auto-self-update enable
Disable automatic self-updates$ rustup set auto-self-update disable
SYNOPSIS
rustup set setting value
DESCRIPTION
rustup set configures rustup settings that affect default behavior for new toolchain installations and updates. The profile setting controls which components are installed by default, and the auto-self-update setting controls whether rustup updates itself when running `rustup update`.
SUBCOMMANDS
default-host triple
Set the default host triple for toolchain installations (e.g., x86_64-unknown-linux-gnu).profile name
Set the default component installation profile. minimal includes only rustc, rust-std, and cargo. default adds rust-docs, rustfmt, and clippy. complete installs all available components.auto-self-update mode
Control rustup's automatic self-update behavior: enable, disable, or check-only.
SEE ALSO
rustup(1), rustup-show(1)
