Added an installation Method for rust in Mac OS X with Homebrew (#32978)

pull/33909/head
J4unty 2018-10-31 22:55:08 +01:00 committed by Paul Happ
parent d13b8bf6a0
commit 7e013616b0
1 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,7 @@ title: 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
@ -20,6 +20,13 @@ curl https://sh.rustup.rs -sSf | sh
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
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: