rustup which

Display which binary will be run for a command managed by rustup. Like which, but searches a Rust toolchain instead of $PATH. More information: https://rust-lang.github.io/rustup.

rustup which command

rustup which --toolchain toolchain command