@@ -29,6 +29,32 @@ $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default
2929$ curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly
3030```
3131
32+
33+ ## Using a package manager
34+
35+ > Please note that the rustup project is not maintaining any package mentioned in this section.
36+ > If you have encountered any problems installing ` rustup ` with a package manager,
37+ > please contact the package maintainer(s) for further information.
38+
39+ ### Homebrew
40+
41+ You can use ` brew ` to install ` rustup-init ` [ ^ not-rust ] :
42+
43+ ``` sh
44+ $ brew install rustup-init
45+ ```
46+
47+ Then execute ` rustup-init ` to proceed with the installation.
48+
49+ When the installation is complete,
50+ make sure that ` $HOME/.cargo/bin ` is in your ` $PATH ` ,
51+ and you should be able to use ` rustup ` normally.
52+
53+ [ ^ not-rust ] : This is not to be confused with the ` rust ` package,
54+ which is a ` brew ` -managed ` rust ` toolchain installation.
55+
56+ ## Manual installation
57+
3258If you prefer you can directly download ` rustup-init ` for the platform of your
3359choice:
3460
@@ -106,6 +132,8 @@ choice:
106132You can fetch an older version from
107133` https://static.rust-lang.org/rustup/archive/{rustup-version}/{target-triple}/rustup-init[.exe] `
108134
135+ ## Self-compiled installation
136+
109137To install ` rustup ` from source, check out the git repository from
110138< https://github.com/rust-lang/rustup > and run ` cargo run --release ` . Note that
111139after installation the ` rustup ` toolchains will supersede any pre-existing
0 commit comments