From the course: Rust for C# Developers

Setting up Rust

- [Instructor] To get really started with Rust, we have to start with installing Rust on the machine we're working on. This will enable you to follow along with the course and try things out yourself. Rust can be installed on a Mac using macOS, a computer running Windows or Linux and more. This means that there are multiple ways of installing Rust depending on your specific circumstance. If you go to rust-lang.org and click the Get Started button, you will get instructions on how to install Rust depending on the operating system you are using. Here, you can see how the website looks on a Windows computer during the making of this course. The rustup installer will guide you through the installation. If options are given, choose everything default to start with unless you know exactly what you're doing. To verify that Rust is correctly installed through rustup, close your terminal of choice, reopen the terminal and run the command rustup. This should show the information about the Rust toolchain installer rustup in your terminal as seen here. If anything in the installation went wrong, you'll receive an error message saying something like "Command not found: rustup." In this case, try to install rustup again. With this, you have the full Rust toolchain installed and you can create a new Rust package, compile code, run tests, execute Rust code and everything else needed in the full development cycle of Rust.

Contents