Skip to content

Instantly share code, notes, and snippets.

@MichaelCurrin
Created July 1, 2021 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelCurrin/6b619f1b035b922f4d883265b2ffcdcf to your computer and use it in GitHub Desktop.
Save MichaelCurrin/6b619f1b035b922f4d883265b2ffcdcf to your computer and use it in GitHub Desktop.
Install Rust

Install Rust

From the Install doc:

  • Unix (macOS and Linux)
    $ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    $ # Previously the guide just said this:
    $ curl https://sh.rustup.rs -sSf | sh
  • Windows
    • Download the .exe installer on the doc.

If you like, you can download save the install script yourself by going to sh.rustup.rs/ or view the source on GitHub at rustup-init.sh.

That will install the following commands and add them to Cargo's bin so you can execute them from anywhere.

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