How to Install Rust on windows?

In this post, we are going to learn How to Install Rust on windows? The first step towards learning a new language is to install its tools and components. To start Rust installations we will start with ‘rustup’ which is a command-line tool. This tool manages the Rust components and their versions installed on your machine.

On Windows OS:

We will be installing on windows so I will write the steps on the windows. You can visit the Rust language homepage and download the ‘rustup-init.exe’ executable file and install it on your machine.

Once your installation is completed you will need to confirm the installation is working fine or not.

So just open a command prompt terminal and type:


If your Rust was installed successfully then you should be able to see the different options and supported items listed on your screen.

Similarly, you can verify the toolchains which got installed on your machine by using another command:

rustup toolchain list

Rust Cargo package manager

As the languages are growing then a lot of package managers are also available for the languages.

Rust has the cargo package manager which will get installed with your installation. To confirm its availability you can type this command:


Once you execute this command you will see the different options which cargo support to be used when you work with different packages in your rust programs.

Now you are done with the installation and verification of “rustup” and “cargo”, I would like to mention that as rust keep changing and releasing new versions. So once you have a stable release version available then you can update your tools to the latest by using this command:

rustup update