@@ -9,16 +9,16 @@ process, see ‘[Stability as a deliverable][stability]’.
99To install nightly Rust, you can use ` rustup.sh ` :
1010
1111``` 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
1313```
1414
1515If 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
1717use a two-step version of the installation and examine our installation script:
1818
1919``` bash
2020$ curl -f -L https://static.rust-lang.org/rustup.sh -O
21- $ sudo sh rustup.sh --channel=nightly
21+ $ sh rustup.sh --channel=nightly
2222```
2323
2424[ 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
4343an uninstall option.
4444
4545Some 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
4747people who maintain Rust aren't going to hack your computer and do bad things.
4848That's a good instinct! If you're one of those people, please check out the
4949documentation 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 ] .
5351
5452[ from source ] : https://github.com/rust-lang/rust#building-from-source
5553[ install page ] : http://www.rust-lang.org/install.html
0 commit comments