This post currently teaches how to install Rust in Windows.
Welcome! Welcome to the Rust Installation Guide.
Installing Rust is as simple as downloading, running the installer, and clicking Next.
Let us now start our journey by setting up our machines to compile Rust programs.
1. Go to the Rust Official Site, and click Install to download your OS’ installer. Alternatively, you can download a specific installer here. The Rust installer is approximately 120Mb in total size.
2. Execute the file that you downloaded in the previous step. Let us keep everything on default by clicking Next every time the installer prompts your choice.
3. There you have it. Rust is now residing in your machine. It is waiting for you to prove it wrong in it’s following promises: blazingly fast, prevents segfaults, and guarantees thread safety.
Where is Rust residing in my machine?
Rust is located at:
C:\Program Files (x86)\Rust stable GNU <Version Number>
Environment Variables (path will have an additional item):
C:\Program Files (x86)\Rust stable GNU <Version Number>\bin
<Version Number> is based on the version of Rust that you will install, e.g. the current version of Rust is 1.10. The default installation will be
C:\Program Files (x86)\Rust stable GNU 1.10
I have a challenge for you: customize your installation of Rust.
In the following weeks, I will be writing about:
- The ubiquitous Hello World
- Want to run rust programs without compiling anything? Please do tell me!