1
1
# Basic usage
2
2
3
- The ` rustup ` command-line has a built-in help system that provides more
4
- information about each command. Run ` rustup help ` for an overview. Detailed
5
- help for each subcommand is also available. For example, run `rustup toolchain
6
- install --help` for specifics on installing [ toolchains] .
7
-
8
- [ toolchains ] : concepts/toolchains.md
9
-
10
3
## Keeping Rust up to date
11
4
12
5
Rust is distributed on three different [ release channels] : stable, beta, and
13
- nightly. ` rustup ` is configured to use the stable channel by default, which
14
- represents the latest release of Rust, and is released every six weeks.
6
+ nightly. ` rustup ` uses the stable channel by default, which
7
+ represents the latest release of Rust. Stable publishes new releases every six weeks.
15
8
16
9
[ release channels ] : concepts/channels.md
17
10
18
- When a new version of Rust is released, you can type ` rustup update ` to update
19
- to it:
11
+ When a new version of Rust is released, simply type ` rustup update ` to update:
20
12
21
13
``` console
22
14
$ rustup update
@@ -36,22 +28,29 @@ info: downloading self-updates
36
28
37
29
```
38
30
39
- This is the essence of ` rustup ` .
31
+ ## Keeping ` rustup ` up to date
40
32
41
- ## Keeping rustup up to date
42
-
43
- Running ` rustup update ` also checks for updates to ` rustup ` and automatically
44
- installs the latest version. To manually check for updates and install the
45
- latest version of ` rustup ` without updating installed toolchains type `rustup
46
- self update`:
33
+ Running ` rustup update ` also checks for updates to ` rustup ` itself and automatically
34
+ installs the latest version. To manually update ` rustup ` only,
35
+ without updating installed toolchains, type ` rustup self update ` :
47
36
48
37
``` console
49
38
$ rustup self update
50
39
info: checking for self-updates
51
40
info: downloading self-updates
52
41
```
53
42
54
- ** Note** : ` rustup ` will automatically update itself at the end of any
55
- toolchain installation as well. You can prevent this automatic behaviour by
56
- passing the ` --no-self-update ` argument when running ` rustup update ` or
57
- ` rustup toolchain install ` .
43
+ > #### Disable automatic self-updates
44
+ > ` rustup ` will automatically update itself at the end of any toolchain installation.
45
+ > You can prevent this automatic behaviour by passing the ` --no-self-update ` argument
46
+ > when running ` rustup update ` or ` rustup toolchain install ` .
47
+
48
+ ## Help system
49
+
50
+ The ` rustup ` command-line has a built-in help system that provides more
51
+ information about each command. Run ` rustup help ` for an overview. Detailed
52
+ help for each subcommand is also available. For example, run `rustup toolchain
53
+ install --help` for specifics on installing [ toolchains] .
54
+
55
+ [ toolchains ] : concepts/toolchains.md
56
+
0 commit comments