Update instructions to install rustup in README

This commit is contained in:
Mehdi Zerouali 2019-05-24 10:07:30 +10:00
parent 389951530a
commit 517952fc0f
No known key found for this signature in database
GPG Key ID: D99440488DAE825D

View File

@ -111,7 +111,7 @@ tests and benchmarks which may be of interest.
A few basic steps are needed to get set up: A few basic steps are needed to get set up:
1. Install [rustup](https://rustup.rs/). It's a toolchain manager for Rust (Linux | macos | Windows). For installation run the below command in your terminal `$ curl https://sh.rustup.rs -sSf | sh` 1. Install [rustup](https://rustup.rs/). It's a toolchain manager for Rust (Linux | macOS | Windows). For installation, download the script with `$ curl -f https://sh.rustup.rs > rustup.sh`, review its content (e.g. `$ less ./rustup.sh`) and run the script `$ ./rustup.sh` (you may need to change the permissions to allow execution, i.e. `$ chmod +x rustup.sh`)
2. (Linux & MacOS) To configure your current shell run: `$ source $HOME/.cargo/env` 2. (Linux & MacOS) To configure your current shell run: `$ source $HOME/.cargo/env`
3. Use the command `rustup show` to get information about the Rust installation. You should see that the 3. Use the command `rustup show` to get information about the Rust installation. You should see that the
active toolchain is the stable version. active toolchain is the stable version.