Install Rust

We have many ways to code and test rust programs :

1 - Use online platforms such us : Rust playground website

2 - Install code editor and rust compiler


In our case, we will choose the second method.


1 - Install code editor


There is many code editors out there, just pick one, i will use visual studio code my self. You can download it on the official web site.


2 - Install Rust compiler


To install rust compiler, you need to download and install rustup the rust compiler toolchain, it's contains the compiler and many tools that we will later in this course.

Download rustup from : the installation page of website rust lang.

After the installation, we will have 3 main tools :

  • - rustc : The rust compiler
  • - rustup : to manage the version
  • - cargo : the package manager