@@ -9,16 +9,16 @@ process, see ‘[Stability as a deliverable][stability]’.
9
9
To install nightly Rust, you can use ` rustup.sh ` :
10
10
11
11
``` bash
12
- $ curl -s https://static.rust-lang.org/rustup.sh | sudo sh -s -- --channel=nightly
12
+ $ curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
13
13
```
14
14
15
15
If you're concerned about the [ potential insecurity] [ insecurity ] of using `curl
16
- | sudo sh`, please keep reading and see our disclaimer below. And feel free to
16
+ | sh`, please keep reading and see our disclaimer below. And feel free to
17
17
use a two-step version of the installation and examine our installation script:
18
18
19
19
``` bash
20
20
$ curl -f -L https://static.rust-lang.org/rustup.sh -O
21
- $ sudo sh rustup.sh --channel=nightly
21
+ $ sh rustup.sh --channel=nightly
22
22
```
23
23
24
24
[ insecurity ] : http://curlpipesh.tumblr.com
@@ -43,13 +43,11 @@ If you used the Windows installer, just re-run the `.msi` and it will give you
43
43
an uninstall option.
44
44
45
45
Some people, and somewhat rightfully so, get very upset when we tell you to
46
- ` curl | sudo sh ` . Basically, when you do this, you are trusting that the good
46
+ ` curl | sh ` . Basically, when you do this, you are trusting that the good
47
47
people who maintain Rust aren't going to hack your computer and do bad things.
48
48
That's a good instinct! If you're one of those people, please check out the
49
49
documentation on [ building Rust from Source] [ from source ] , or [ the official
50
- binary downloads] [ install page ] . And we promise that this method will not be
51
- the way to install Rust forever: it's just the easiest way to keep people
52
- updated while Rust is in its alpha state.
50
+ binary downloads] [ install page ] .
53
51
54
52
[ from source ] : https://github.com/rust-lang/rust#building-from-source
55
53
[ install page ] : http://www.rust-lang.org/install.html
0 commit comments