Open In App

How to Install Rust Offline?

Rust is a general-purpose programming language that is known for its performance, type safety and concurrency, and better memory management. It has a syntax that is much similar to that of C++. Let’s see why we require Rust. Rust has many advantages that make it a better choice as a programming language. Some of which are:

Install Rust Offline

Follow the steps below for easy installation:



Step 1: Go to this website. Choose 32-bit or 64-bit based on your system.

 

Step 2: After installation, open the rustup_init.exe and press ‘y’, and at the next step, press 1:



 

 

Step 3: At this point, you will be completed with the installation procedure:

 

Step 4: Open the command prompt and type ‘cargo –version’ to see the version of rust installed on your system: 

 

Note:

If you are not able to see the version of rust or a error prompts, then perform the operations again . 

Step 5: Make a rusted file  ‘rust.rs’  and type the following code in it.

Code:




fn main() {
  
    println!("Hello World!");
}

Output:

 

Hence, we are finished with the installation of Rust on our system in the simplest way possible.

Article Tags :