-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
106 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-help (English) | ||
description: "Display help on `rustup` and its subcommands." | ||
content_hash: 62296cfa6df1a05f6336041324360f42cf80ab0b | ||
last_modified_at: 2023-09-17 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup help | ||
|
||
Display help on `rustup` and its subcommands. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Display general help: | ||
|
||
`rustup help` | ||
|
||
- Display help for a subcommand: | ||
|
||
`rustup help `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">subcommand</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-install (English) | ||
description: "Install or update Rust toolchains." | ||
content_hash: 40321842cdbc91ef5309626166384a30162577b4 | ||
last_modified_at: 2023-09-17 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup install | ||
|
||
Install or update Rust toolchains. | ||
This command is an alias of `rustup update`, but can only install/update one toolchain at a time. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- Install or update a specific toolchain (see `rustup help toolchain` for more information): | ||
|
||
`rustup install `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-man (English) | ||
description: "View the man page for a given command managed by `rustup`." | ||
content_hash: 32ef233358ca16edaf80d970c8fc488ffa2ffc3d | ||
last_modified_at: 2023-09-17 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup man | ||
|
||
View the man page for a given command managed by `rustup`. | ||
More information: <https://rust-lang.github.io/rustup>. | ||
|
||
- View the man page for a given command from the default toolchain: | ||
|
||
`rustup man `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span> | ||
|
||
- View the man page for a given command from the specified toolchain: | ||
|
||
`rustup man --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-run (English) | ||
description: "Run a command with an environment configured for a given Rust toolchain." | ||
content_hash: 471eaf7b6bebb72c8fbb154d5627cc9060a1d31a | ||
last_modified_at: 2023-09-17 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup run | ||
|
||
Run a command with an environment configured for a given 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 `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
layout: page | ||
title: common/rustup-which (English) | ||
description: "Display which binary will be run for a given command managed by `rustup`." | ||
content_hash: 14371dc6987db2d0635274a65addcbf54abb5f58 | ||
last_modified_at: 2023-09-17 | ||
--- | ||
|
||
This entry is very new in the [tldr-pages](https://github.com/tldr-pages/tldr) project, hence translation data is currently unavailable for a while. | ||
|
||
<hr># rustup which | ||
|
||
Display which binary will be run for a given 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 `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span> | ||
|
||
- Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information): | ||
|
||
`rustup which --toolchain `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">toolchain</span>` `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">command</span> |
Submodule source
updated
5 files
+12 −0 | pages/common/rustup-help.md | |
+9 −0 | pages/common/rustup-install.md | |
+12 −0 | pages/common/rustup-man.md | |
+9 −0 | pages/common/rustup-run.md | |
+13 −0 | pages/common/rustup-which.md |