@@ -113,19 +113,30 @@ tier 3 platforms that will ever be!
113113
114114## Installing Rust
115115
116- All we need to do is open a terminal and type this:
116+ All you need to do on Unix systems like Linux and macOS is open a
117+ terminal and type this:
117118
118119``` bash
119120$ curl https://sh.rustup.rs -sSf | sh
120121```
121122
122- This will download a script, and start the installation. If it all goes well,
123- you’ll see this appear:
123+ It will download a script, and start the installation. If everything
124+ goes well, you’ll see this appear:
124125
125126``` text
126127Rust is installed now. Great!
127128```
128129
130+ Installing on Windows is nearly as easy: download and run
131+ [ rustup-init.exe] . It will start the installation in a console and
132+ present the above message on success.
133+
134+ For other installation options and information, visit the [ install]
135+ page of the Rust website.
136+
137+ [ rustup-init.exe ] : https://win.rustup.rs
138+ [ install ] : https://www.rust-lang.org/install.html
139+
129140## Uninstalling
130141
131142Uninstalling Rust is as easy as installing it:
@@ -146,12 +157,15 @@ You should see the version number, commit hash, and commit date.
146157
147158If you do, Rust has been installed successfully! Congrats!
148159
149- If you don't and you're on Windows, check that Rust is in your %PATH% system
150- variable: ` $ echo %PATH% ` . If it isn't, run the installer again, select "Change"
151- on the "Change, repair, or remove installation" page and ensure "Add to PATH" is
152- installed on the local hard drive. If you need to configure your path manually,
153- you can find the Rust executables in a directory like
154- ` "C:\Program Files\Rust stable GNU 1.x\bin" ` .
160+ If you don't, that probably means that the ` PATH ` environment variable
161+ doesn't include Cargo's binary directory, ` ~/.cargo/bin ` on Unix, or
162+ ` %USERPROFILE%\.cargo\bin ` on Windows. This is the directory where
163+ Rust development tools live, and most Rust developers keep it in their
164+ ` PATH ` environment variable, which makes it possible to run ` rustc ` on
165+ the command line. Due to differences in operating systems, command
166+ shells, and bugs in installation, you may need to restart your shell,
167+ log out of the system, or configure ` PATH ` manually as appropriate for
168+ your operating environment.
155169
156170Rust does not do its own linking, and so you’ll need to have a linker
157171installed. Doing so will depend on your specific system. For
0 commit comments