← 返回命令列表

Linux command

rustup-update 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Update all toolchains

rustup update

Update specific toolchain

rustup update stable

Update nightly

rustup update nightly

说明

rustup update updates installed Rust toolchains to latest versions. Without arguments, updates all installed toolchains. Also updates rustup itself by default.

参数

--no-self-update
Don't update rustup.
--force
Force reinstall.
--force-non-host
Force update non-host toolchains.

FAQ

What is the rustup-update command used for?

rustup update updates installed Rust toolchains to latest versions. Without arguments, updates all installed toolchains. Also updates rustup itself by default.

How do I run a basic rustup-update example?

Run `rustup update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --no-self-update do in rustup-update?

Don't update rustup.