Skip to content

Commit

Permalink
Rephrase Windows installation instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Alovchin91 authored and rami3l committed Jun 5, 2024
1 parent ea8472d commit f2b5d77
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/user-guide/src/installation/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@
The primary installation method, as described at <https://rustup.rs>, differs
by platform:

* On Windows, download and run the [`rustup-init.exe` built for the
`x86_64-pc-windows-msvc` target][setup]. In general, this is the build of
* On Windows, download and run the `rustup-init.exe` built for the
[`x86_64-pc-windows-msvc`] or [`aarch64-pc-windows-msvc`] target,
depending on your OS architecture. In general, this is the build of
`rustup` one should install on Windows. This will require the Visual C++
Build Tools 2019 or equivalent (Visual Studio 2019, etc.) to already be
installed. If you would prefer to install GNU toolchains or the i686 or aarch64
installed. If you would prefer to install GNU toolchains or the i686
toolchains by default this can be modified at install time, either
interactively, with the `--default-host` flag, or after installation
via `rustup set default-host`.
* On Unix, run `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` in your shell. This
downloads and runs [`rustup-init.sh`], which in turn downloads and runs the
correct version of the `rustup-init` executable for your platform.

[setup]: https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
[`x86_64-pc-windows-msvc`]: https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
[`aarch64-pc-windows-msvc`]: https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe
[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh

`rustup-init` accepts arguments, which can be passed through the shell script.
Expand Down

0 comments on commit f2b5d77

Please sign in to comment.