@@ -5,27 +5,27 @@ connection to run the commands in this chapter, as we’ll be downloading Rust
5
5
from the internet.
6
6
7
7
We’ll be showing off a number of commands using a terminal, and those lines all
8
- start with ` $ ` . You don't need to type in the ` $ ` s, they are there to indicate
8
+ start with ` $ ` . You don't need to type in the ` $ ` s; they are there to indicate
9
9
the start of each command. You’ll see many tutorials and examples around the web
10
10
that follow this convention: ` $ ` for commands run as a regular user, and ` # `
11
11
for commands you should be running as an administrator.
12
12
13
13
## Installing on Linux or Mac
14
14
15
- If you're on Linux or a Mac, all you need to do is open a terminal and type this:
15
+ If you're on Linux or a Mac, all you need to do is open a terminal and type
16
+ this:
16
17
17
18
``` bash
18
19
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
19
20
```
20
21
21
- This will download a script, and start the installation. You may be prompted for your password.
22
- If it all goes well, you’ll see this appear:
22
+ This will download a script and start the installation. You may be prompted for
23
+ your password. If it all goes well, you’ll see this appear:
23
24
24
25
``` text
25
26
Rust is ready to roll.
26
27
```
27
28
28
-
29
29
## Installing on Windows
30
30
31
31
If you're on Windows, please download the appropriate [ installer] [ install-page ] .
@@ -41,8 +41,8 @@ the uninstall script:
41
41
$ sudo /usr/local/lib/rustlib/uninstall.sh
42
42
```
43
43
44
- If you used the Windows installer, you can re-run the ` .msi ` and it will give you
45
- an uninstall option.
44
+ If you used the Windows installer, you can re-run the ` .msi ` and it will give
45
+ you an uninstall option.
46
46
47
47
## Troubleshooting
48
48
0 commit comments