=

Rust installation

Now we are going to install rust on our system. A system can be Mac, Linux, Windows or any other else. Each system may have different steps but the actual approach would be similar. Like - First installing rustup tool that manages different rust versions and associated tools.

Rust on MacOS and Linux

  • On both os, you can use the command curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh to install rustup tool.
  • After successfull installation a message Rust is installed now. Great! appears.
  • Some common rust packages depends upon C code, So it is recommonded to install c compiler.
  • MacOS : xcode-select --install
  • Linux : Install GCC,CLANG or other depending upon rust docs.

Rust on Windows

  • To install Rust on Windows you have to follow the instruction given on the page
  • You may have to install Visual Studio, which provides essential tools. like: linker. Page

Some essentials

  • Use rustc --version to check the installation of rust.
  • Use rustup update for updating the rust.
  • Use rustup self uninstall to uninstall rust.
(If you have any type of query / Question / suggestion .. feel free to ask below. We would be happy to connect you. Have a great day buddy!!)