mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 17:22:08 +02:00

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
13 lines
465 B
Markdown
13 lines
465 B
Markdown
# 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>.
|
|
|
|
- Display the path to the binary in the default toolchain:
|
|
|
|
`rustup which {{command}}`
|
|
|
|
- Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information):
|
|
|
|
`rustup which --toolchain {{toolchain}} {{command}}`
|