@@ -24,41 +24,29 @@ see the website][platform-support].
2424
2525[ platform-support ] : https://forge.rust-lang.org/platform-support.html
2626
27- ## Installing on Linux or Mac
27+ ## Installing Rust
2828
29- If we're on Linux or a Mac, all we need to do is open a terminal and type this:
29+ All we need to do is open a terminal and type this:
3030
3131``` bash
32- $ curl -sSf https://static.rust-lang.org/ rustup.sh | sh
32+ $ curl https://sh. rustup.rs -sSf | sh
3333```
3434
3535This will download a script, and start the installation. If it all goes well,
3636you’ll see this appear:
3737
3838``` text
39- Rust is ready to roll.
39+ Rust is installed now. Great!
4040```
4141
42- From here, press ` y ` for ‘yes’, and then follow the rest of the prompts.
43-
44- ## Installing on Windows
45-
46- If you're on Windows, please download the appropriate [ installer] [ install-page ] .
47-
48- [ install-page ] : https://www.rust-lang.org/install.html
49-
5042## Uninstalling
5143
52- Uninstalling Rust is as easy as installing it. On Linux or Mac, run
53- the uninstall script:
44+ Uninstalling Rust is as easy as installing it:
5445
5546``` bash
56- $ sudo /usr/local/lib/rustlib/ uninstall.sh
47+ $ rustup self uninstall
5748```
5849
59- If we used the Windows installer, we can re-run the ` .msi ` and it will give us
60- an uninstall option.
61-
6250## Troubleshooting
6351
6452If we've got Rust installed, we can open up a shell, and type this:
@@ -106,9 +94,7 @@ resources include [the user’s forum][users] and [Stack Overflow][stackoverflow
10694[ stackoverflow ] : http://stackoverflow.com/questions/tagged/rust
10795
10896This installer also installs a copy of the documentation locally, so we can
109- read it offline. On UNIX systems, ` /usr/local/share/doc/rust ` is the location.
110- On Windows, it's in a ` share/doc ` directory, inside the directory to which Rust
111- was installed.
97+ read it offline. It's only a ` rustup doc ` away!
11298
11399# Hello, world!
114100
0 commit comments