Rust Environment Setup
HUTAO667
Rust Basics
Documentation on how to set up a basic Rust environment
Rust Environment Setup
Installation
MacOS/Linux
- Enter the command in terminal:
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh- Wait for successful installation, you’ll see:
Rust is installed now. Great!
Windows
- Download installer
- After downloading, run the installer and select the first option for default installation
- After installation completes, enter
rustc --version. If version information appears, installation was successful
Update and Uninstall
Update
Enter in terminal:
rustup updateUninstall
Enter in terminal:
$ rustup self uninstall