How to Install Rust

How to Install Rust

This article will briefly cover how to set up Rust for Rust-based projects.

Installing Rust

1. Head to the Rust installation page at https://www.rust-lang.org/tools/install
2. The page should automatically detect your operating system and present you with appropriate download options. Hit the button that is most appropriate for your system.


3. Once downloaded, double-click the file to start the installation process. This will open a new Shell window. Where prompted in this window, select the Standard installation option.


4. Wait for Rust to install. Once it is finished, you should receive a confirmation message.



5. To confirm Rust installed, open a new Command Prompt or Terminal window. In the window, type in the following and hit enter:
  1. cargo
If Rust installed correctly, you should be presented with a variety of cargo options.



6. From here, the next step is to set up a code editor of your choice. You can review this article for information on installing Visual Studio Code, which is our recommendation for Rust: How to Install Visual Studio Code
7. After setting up a code editor, you can create a new Rust project by opening Command Prompt/Terminal again, navigating to your project folder, and typing the following:
  1. cargo new YOURPROJECTNAME
This will create a new project folder ready for your Rust project!


    • Related Articles

    • How to Install Unity

      This article will cover both how to install Unity for the first time, and how to install new versions of Unity for pre-existing installations. Before installation you may wish to review Unity's system requirements. First Time Installation Only - ...
    • How to Install MonoGame

      This article will cover how to set up the MonoGame framework for game development. MonoGame recommends using Visual Studio Community for development - the setup of which is covered in this article. You can, however, use other code editors like Visual ...
    • How to Install GameMaker

      This article will cover how to install the GameMaker engine. Before installation, you may wish to review GameMaker's system requirements. Downloading and Installing GameMaker 1. Head to the GameMaker download page at https://gamemaker.io/en/download ...
    • How to Install Python

      If you intend to use our Python courses with a code editor like Python's built-in IDLE editor, Visual Studio Code, Anaconda, Spyder, or something else, you will need to first install the Python runtime to your local computer. This short article will ...
    • How to Install Blender

      In this article, we'll discuss how to install Blender, the free, 3D modeling software. Before beginning, you may wish to review Blender's system requirements. Installing Blender 1. Go to the download page on the official Blender site at ...