Which installation method is recommended?
znz opened this issue · comments
https://www.rust-lang.org/learn/get-started says curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
, but https://forge.rust-lang.org/infra/other-installation-methods.html says curl https://sh.rustup.rs/ -sSf | sh
.
Which is recommended?
Why do they say different commands?
Just a side note: I am running MacOS 10.13 (High Sierra) and do not have tlsv1.3. As a result, I was not able to install Rust using the book installation instructions. I found this issue, ran the command above, and installed Rust on my iMac (hooray!). In my research to solve my install issue I realize there is a need for clarity regarding which MacOS Rust supports. Although it is suggested that Rust supports MacOS 10.13, my experience is that it does not.
As a compromise perhaps both commands (tlsv1.2 and tlsv1.3) could be listed for legacy MacOS user such as me.
MacOS 10.13 (High Sierra) and older
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
MacOS 10.14 (Mojave) and newer
$ curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh