@@ -111,41 +111,29 @@ unofficial locations.
111111Note that this table can be expanded over time, this isn't the exhaustive set of
112112tier 3 platforms that will ever be!
113113
114- ## Installing on Linux or Mac
114+ ## Installing Rust
115115
116- If we're on Linux or a Mac, all we need to do is open a terminal and type this:
116+ All we need to do is open a terminal and type this:
117117
118118``` bash
119- $ curl -sSf https://static.rust-lang.org/ rustup.sh | sh
119+ $ curl https://sh. rustup.rs -sSf | sh
120120```
121121
122122This will download a script, and start the installation. If it all goes well,
123123you’ll see this appear:
124124
125125``` text
126- Rust is ready to roll.
126+ Rust is installed now. Great!
127127```
128128
129- From here, press ` y ` for ‘yes’, and then follow the rest of the prompts.
130-
131- ## Installing on Windows
132-
133- If you're on Windows, please download the appropriate [ installer] [ install-page ] .
134-
135- [ install-page ] : https://www.rust-lang.org/install.html
136-
137129## Uninstalling
138130
139- Uninstalling Rust is as easy as installing it. On Linux or Mac, run
140- the uninstall script:
131+ Uninstalling Rust is as easy as installing it:
141132
142133``` bash
143- $ sudo /usr/local/lib/rustlib/ uninstall.sh
134+ $ rustup self uninstall
144135```
145136
146- If we used the Windows installer, we can re-run the ` .msi ` and it will give us
147- an uninstall option.
148-
149137## Troubleshooting
150138
151139If we've got Rust installed, we can open up a shell, and type this:
@@ -193,9 +181,7 @@ resources include [the user’s forum][users] and [Stack Overflow][stackoverflow
193181[ stackoverflow ] : http://stackoverflow.com/questions/tagged/rust
194182
195183This installer also installs a copy of the documentation locally, so we can
196- read it offline. On UNIX systems, ` /usr/local/share/doc/rust ` is the location.
197- On Windows, it's in a ` share/doc ` directory, inside the directory to which Rust
198- was installed.
184+ read it offline. It's only a ` rustup doc ` away!
199185
200186# Hello, world!
201187
0 commit comments