Rust, Software Development

How To Update Rust On Windows

It is very easy to update Rust on Windows to the latest version. You could install either the stable or nightly release and update from it. For those new to Rust, I would recommend installing the stable release.

Install Rust

Although Rust is not difficult to install (or update) on Windows, one must still muster some patience because the process may not be straightforward to all of us. To install Rust on Windows, follow the steps on How to Install Rust on Windows 10 The Easy And Painless Way. Note that there is a newer version of  MS Visual C++ Build Tools. If you failed on the first attempt, treat the post as a general approach. There may be new configurations but rest assured the content will serve as groundwork.

As of this writing, the latest version of Rust is 1.59.0. To try the Rust update of Windows by yourself, you may consider installing an earlier version like 1.58.1.

Update Rust Using the rustup Command

Before running the rustup command, ensure you successfully installed and configured Rust on Windows. To check if Rust is available, use one of the other CLI commands. For example, the rustc.

If the rustc command works, we can update Rust to the latest version on Windows. The rustup command has many sub-commands for options. To update Rust, we use the rustup command as follows.

When we run the command, we get the following output. Your output will vary.

There you go! Easy, right? Use the rustup command with the update sub-command when there are new Rust updates for Windows.

Loading

Got comments or suggestions? We disabled the comments on this site to fight off spammers, but you can still contact us via our Facebook page!.


You Might Also Like