Skip to content

Commit d9e0bbc

Browse files
committed
1 parent 3e6b29f commit d9e0bbc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/doc/guide.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ Linux or a Mac, all you need to do is this (note that you don't need to type
2323
in the `$`s, they just indicate the start of each command):
2424

2525
```bash
26-
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
26+
curl -L https://static.rust-lang.org/rustup.sh | sudo sh
2727
```
2828

29-
(If you're concerned about `curl | sudo sh`, please keep reading. Disclaimer
30-
below.)
29+
If you're concerned about the [potential insecurity](http://curlpipesh.tumblr.com/) of using `curl | sudo sh`,
30+
please keep reading and see our disclaimer below. And feel free to use a two-step version of the installation and examine our installation script:
31+
32+
```bash
33+
curl -L https://static.rust-lang.org/rustup.sh -o rustup.sh
34+
sudo sh rustup.sh
35+
```
3136

3237
If you're on Windows, please download either the [32-bit
3338
installer](https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.exe)

0 commit comments

Comments
 (0)