Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which installation method is recommended? #647

Open
znz opened this issue Sep 1, 2022 · 1 comment
Open

Which installation method is recommended? #647

znz opened this issue Sep 1, 2022 · 1 comment
Labels
T-infra Team: infrastructure

Comments

@znz
Copy link

znz commented Sep 1, 2022

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?

@SteveHenley
Copy link

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

@ehuss ehuss added the T-infra Team: infrastructure label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-infra Team: infrastructure
Projects
None yet
Development

No branches or pull requests

3 participants