Installing Rust

Hands-on Rust — by Herbert Wolverson (13 / 120)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Chapter 1 Rust and Your Development Environment | TOC | Installing and Configuring Your Development Env ironment 👉

Rust requires that you install a toolchain on your computer. The toolchain includes the Rust compiler and various tools to make working with the language easier. The easiest way to install the toolchain is to visit the RustUp website.[4] RustUp detects the operating system you’re running and displays instructions for your platform. Launch a web browser and open rustup.rs. You’ll be greeted with a page similar to the image shown.

images/InstallingRust/RustUp-Vector.png

The next step varies by operating system. The RustUp site will direct you with step-by-step instructions.

Opening a Command Prompt/Terminal

TIP

On Windows, press ⊞ + R, type cmd in the Run box and press ENTER. On Mac OS, search for Terminal in Finder and run it.

Starting the Install on Microsoft Windows

If you’re a Microsoft Windows user, download and run the linked rustup-init.exe file.[5] RustUp might ask you to install the C++ build tools before proceeding. Microsoft Windows doesn’t ship with development tools and the Windows platform tools aren’t open source — so…

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.