Skip to content

Guide.md: Change download instructions and remove bad info #15204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ install Rust, but the easiest is to use the the `rustup` script. If you're on
Linux or a Mac, All you need to do is this:

```{ignore}
$ curl -s http://www.rust-lang.org/rustup.sh | sudo sh
$ curl http://www.rust-lang.org/rustup.sh -o rustup.sh
$ sudo sh rustup.sh
```

(If you're concerned about `curl | sudo sh`, please keep reading. Disclaimer
below.)

If you're on Windows, please [download this .exe and run
it](http://static.rust-lang.org/dist/rust-nightly-install.exe).

Expand All @@ -44,7 +42,7 @@ Not every programming language is great for everyone. Just pass an argument to
the script:

```{ignore}
$ curl -s http://www.rust-lang.org/rustup.sh | sudo sh -s -- --uninstall
$ sudo sh rustup.sh --uninstall
```

If you used the Windows installer, just re-run the `.exe` and it will give you
Expand All @@ -54,15 +52,11 @@ You can re-run this script any time you want to update Rust. Which, at this
point, is often. Rust is still pre-1.0, and so people assume that you're using
a very recent Rust.

This brings me to one other point: some people, and somewhat rightfully so, get
very upset when we tell you to `curl | sudo sh`. And they should be! Basically,
when you do this, you are trusting that the good people who maintain Rust
aren't going to hack your computer and do bad things. That's a good instinct!
If you're one of those people, please check out the documentation on [building

If you don't want to use the script to download binaries, you can also [build
Rust from Source](https://github.com/rust-lang/rust#building-from-source), or
[the official binary downloads](http://www.rust-lang.org/install.html). And we
promise that this method will not be the way to install Rust forever: it's just
the easiest way to keep people updated while Rust is in its alpha state.
manually download the [official binaries from Rust's website]
(http://www.rust-lang.org/install.html).

Oh, we should also mention the officially supported platforms:

Expand Down