Profiles - The rustup book (original) (raw)

The rustup book

Profiles

rustup has the concept of “profiles”. They are groups of components you can choose to download while installing a new Rust toolchain. The profiles available at this time are minimal, default, and complete:

To change the profile rustup install uses by default, you can use therustup set profile command. For example, to select the minimal profile you can use:

rustup set profile minimal

You can also directly select the profile used when installing a toolchain with:

rustup install --profile <name>

It’s also possible to choose the default profile when installing rustup for the first time, either interactively by choosing the “Customize installation” option or programmatically by passing the --profile=<name> flag. Profiles will only affect newly installed toolchains: as usual it will be possible to install individual components later with: rustup component add.