commands.sh

rustup which

all

Display which binary will be run for a command managed by `rustup`. Like `which`, but searches a Rust toolchain instead of `$PATH`.

More info →

Examples (2)

Display the path to the binary in the default toolchain

Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information)

rustup which --toolchain toolchain command
made by @shridhargupta | data from tldr-pages