book
book copied to clipboard
Installing rustup on MacOS -
Hello,
I was trying the shell installation command, described in a dead-tree form of the book (Chapter 1. Installing rustup on Linux or macOS) on a MacBook:
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
Curl's response:
curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
Is this a typo in the command? The official Rust web-site said it should be version 1.2:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
With this command the installation was Ok:
info: downloading installer
Welcome to Rust!
...
@vitasam Yes it may be typos in dead-tree form. In both documentation and online book it is
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
Ah, we should definitely get this fixed in the print copy in the 2024 revision. Thank you!