@@ -11,7 +11,7 @@ by platform:
11
11
toolchains by default this can be modified at install time, either
12
12
interactively, with the ` --default-host ` flag, or after installation
13
13
via ` rustup set default-host ` .
14
- * On Unix, run ` curl https://sh.rustup.rs -sSf | sh ` in your shell. This
14
+ * On Unix, run ` curl --proto '= https' --tlsv1.2 -sSf https ://sh.rustup.rs | sh ` in your shell. This
15
15
downloads and runs [ ` rustup-init.sh ` ] , which in turn downloads and runs the
16
16
correct version of the ` rustup-init ` executable for your platform.
17
17
@@ -22,11 +22,11 @@ by platform:
22
22
Some examples:
23
23
24
24
``` console
25
- $ curl https://sh.rustup.rs -sSf | sh -s -- --help
26
- $ curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path
27
- $ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
28
- $ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none
29
- $ curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain nightly
25
+ $ curl --proto ' = https' --tlsv1.2 -sSf https ://sh.rustup.rs | sh -s -- --help
26
+ $ curl --proto ' = https' --tlsv1.2 -sSf https ://sh.rustup.rs | sh -s -- --no-modify-path
27
+ $ curl --proto ' = https' --tlsv1.2 -sSf https ://sh.rustup.rs | sh -s -- --default-toolchain nightly
28
+ $ curl --proto ' = https' --tlsv1.2 -sSf https ://sh.rustup.rs | sh -s -- --default-toolchain none
29
+ $ curl --proto ' = https' --tlsv1.2 -sSf https ://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly
30
30
```
31
31
32
32
If you prefer you can directly download ` rustup-init ` for the platform of your
0 commit comments