book icon indicating copy to clipboard operation
book copied to clipboard

Installing rustup on MacOS -

Open vitasam opened this issue 2 years ago • 2 comments
trafficstars

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 avatar May 17 '23 18:05 vitasam

@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

Raghav-Bell avatar Jul 13 '23 16:07 Raghav-Bell

Ah, we should definitely get this fixed in the print copy in the 2024 revision. Thank you!

chriskrycho avatar Apr 01 '24 20:04 chriskrycho