Added an installation Method for rust in Mac OS X with Homebrew (#32978)
This commit is contained in:
@ -4,7 +4,7 @@ title: Installing Rust
|
|||||||
|
|
||||||
# Installing Rust
|
# Installing Rust
|
||||||
|
|
||||||
Using `rustup` is preferred for Rust installation. `rustup` installs and manages Rust for your system.
|
Using `rustup` is preferred for Rust installation. `rustup` installs and manages Rust for your system.
|
||||||
|
|
||||||
## Installing Rust in Windows
|
## Installing Rust in Windows
|
||||||
|
|
||||||
@ -20,6 +20,13 @@ curl https://sh.rustup.rs -sSf | sh
|
|||||||
|
|
||||||
This will fetch the `rustup` installer and in turn fetch everything you need.
|
This will fetch the `rustup` installer and in turn fetch everything you need.
|
||||||
|
|
||||||
|
### Mac OS X (Homebrew)
|
||||||
|
|
||||||
|
Mac OS X users can also use [Homebrew](https://brew.sh/) to install rust:
|
||||||
|
```sh
|
||||||
|
brew install rust
|
||||||
|
```
|
||||||
|
|
||||||
# Verifying installation
|
# Verifying installation
|
||||||
|
|
||||||
Installing `rustup` will install all things relevant to rust, but most relevantly this means installing the compiler and the package manager. To verify that everything is installed, run this command:
|
Installing `rustup` will install all things relevant to rust, but most relevantly this means installing the compiler and the package manager. To verify that everything is installed, run this command:
|
||||||
|
Reference in New Issue
Block a user