mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
528 B
Plaintext
15 lines
528 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# rustup run
|
|
|
|
> Run a command with an environment configured for a Rust toolchain.
|
|
> Note: All commands managed by `rustup` have a shorthand for this: for example, `cargo +nightly build` is equivalent to `rustup run nightly cargo build`.
|
|
> More information: <https://rust-lang.github.io/rustup/>.
|
|
|
|
- Run a command using a given Rust toolchain (see `rustup help toolchain` for more information):
|
|
|
|
`rustup run {{toolchain}} {{command}}`
|