@@ -6,42 +6,42 @@ process, see ‘[Stability as a deliverable][stability]’.
66
77[ stability ] : http://blog.rust-lang.org/2014/10/30/Stability.html
88
9- To install nightly Rust, you can use ` rustup.sh ` :
9+ To install nightly Rust, you can use [ rustup.rs] [ rustup ] :
10+
11+ [ rustup ] : https://rustup.rs
1012
1113``` bash
12- $ curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
14+ $ curl https://sh.rustup.rs -sSf | sh
15+ $ rustup install nightly
1316```
1417
1518If you're concerned about the [ potential insecurity] [ insecurity ] of using `curl
1619| sh`, please keep reading and see our disclaimer below. And feel free to
1720use a two-step version of the installation and examine our installation script:
1821
1922``` bash
20- $ curl -f -L https://static.rust-lang.org/rustup.sh -O
21- $ sh rustup.sh --channel=nightly
23+ $ curl https://sh.rustup.rs -sSf -o rustup.sh
24+ $ sh rustup.sh
25+ $ rustup install nightly
2226```
2327
2428[ insecurity ] : http://curlpipesh.tumblr.com
2529
26- If you're on Windows, please download either the [ 32-bit installer] [ win32 ] or
27- the [ 64-bit installer ] [ win64 ] and run it.
30+ If you're on Windows, please download the [ rustup installer] [ installer ]
31+ and run it.
2832
29- [ win32 ] : https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.msi
30- [ win64 ] : https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.msi
33+ [ installer ] : https://win.rustup.rs
3134
3235## Uninstalling
3336
3437If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay.
3538Not every programming language is great for everyone. Just run the uninstall
36- script :
39+ command :
3740
3841``` bash
39- $ sudo /usr/local/lib/rustlib/ uninstall.sh
42+ $ rustup self uninstall
4043```
4144
42- If you used the Windows installer, re-run the ` .msi ` and it will give you
43- an uninstall option.
44-
4545Some people, and somewhat rightfully so, get very upset when we tell you to
4646` 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.
0 commit comments