Back to Blog

Rust Environment Setup

HUTAO667
Rust Basics

Documentation on how to set up a basic Rust environment

Rust Environment Setup

Installation

MacOS/Linux

  1. Enter the command in terminal:
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
  1. Wait for successful installation, you’ll see:

Rust is installed now. Great!

Windows

  1. Download installer
  2. After downloading, run the installer and select the first option for default installation
  3. After installation completes, enter rustc --version. If version information appears, installation was successful

Update and Uninstall

Update

Enter in terminal:

rustup update

Uninstall

Enter in terminal:

$ rustup self uninstall