Skip to content

Commit 8af84e7

Browse files
committed
Replace rustup.sh with rustup.rs
1 parent dd8d776 commit 8af84e7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/ch01-01-installation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ If you're on Linux or a Mac, all you need to do is open a terminal and type
1616
this:
1717

1818
```bash
19-
$ curl -sSf https://static.rust-lang.org/rustup.sh | sh
19+
$ curl https://sh.rustup.rs -sSf | sh
2020
```
2121

2222
This will download a script and start the installation. You may be prompted for
2323
your password. If it all goes well, you’ll see this appear:
2424

2525
```text
26-
Rust is ready to roll.
26+
Rust is installed now. Great!
2727
```
2828

2929
## Installing on Windows
@@ -38,7 +38,7 @@ Uninstalling Rust is as easy as installing it. On Linux or Mac, just run
3838
the uninstall script:
3939

4040
```bash
41-
$ sudo /usr/local/lib/rustlib/uninstall.sh
41+
$ rustup self uninstall
4242
```
4343

4444
If you used the Windows installer, you can re-run the `.msi` and it will give
@@ -64,7 +64,7 @@ If not, there are a number of places where you can get help. The easiest is
6464
[the #rust IRC channel on irc.mozilla.org][irc], which you can access through
6565
[Mibbit][mibbit]. Click that link, and you'll be chatting with other Rustaceans
6666
(a silly nickname we call ourselves) who can help you out. Other great resources
67-
include [the user’s forum][users], and [Stack Overflow][stackoverflow].
67+
include [the user’s forum][users] and [Stack Overflow][stackoverflow].
6868

6969
[irc]: irc://irc.mozilla.org/#rust
7070
[mibbit]: http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust
@@ -73,7 +73,7 @@ include [the user’s forum][users], and [Stack Overflow][stackoverflow].
7373

7474
## Local documentation
7575

76-
This installer also installs a copy of the documentation locally, so you can
77-
read it offline. On UNIX systems, `/usr/local/share/doc/rust` is the location.
78-
On Windows, it's in a `share/doc` directory, inside the directory to which Rust
79-
was installed.
76+
The installer also includes a copy of the documentation locally, so you can
77+
read it offline. On Linux or Mac, run `rustup doc` to open the local
78+
documentation in your browser. On Windows, the documentation is in a
79+
`share/doc` directory inside the directory where Rust was installed.

0 commit comments

Comments
 (0)