Skip to content

Instantly share code, notes, and snippets.

@selfup
Last active July 11, 2016 19:45
Show Gist options
  • Save selfup/a3cd0c20ba17f0941c4e277aede6fab4 to your computer and use it in GitHub Desktop.
Save selfup/a3cd0c20ba17f0941c4e277aede6fab4 to your computer and use it in GitHub Desktop.

Best practice for installing rust

Here is the link to the rustup website

Here are the docs for rustup

Follow these steps:

  1. curl https://sh.rustup.rs -sSf | sh (This is now the official rust version manager!)

  2. Hit 1 and then Enter. Wait a minute or two depending on your internet.

  3. source $HOME/.cargo/env

Now you will have access to rust and the cargo tool in your current Terminal session.

Here are the official docs​: https://doc.rust-lang.org/book/ (A nice command line number guesser game is the first thing, so enjoy it!)

Best way to learn Rust and its weird static/functional/safe worldhttp://rustbyexample.com

Here is the official reference to all the documentation​: https://www.rust-lang.org/documentation.html

Have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment