DevOps Buzz
Search
⌃K

Cheat Sheet

Fear not!

Install bleeding edge rust

Do not use this installtion on production.
Run the installer.
curl https://sh.rustup.rs -sSf | sh -s -- -y
After a few seconds, you will see the following screen.
Current installation options:
default host triple: x86_64-unknown-linux-gnu
default toolchain: stable
profile: default
modify PATH variable: yes
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
Press 2 to Customize installation.
Answers the question as follows.
Default host triple?
x86_64-unknown-linux-gnu
Default toolchain? (stable/beta/nightly/none)
nightly
Profile (which tools and data to install)? (minimal/default/complete)
complete
Modify PATH variable? (y/n)
y
Then hit 1 to Proceed with installation (default).
Update your env vars.
source $HOME/.cargo/env

References