What is this?
Rustlings is a collection of small coding exercises that teach you Rust by having you fix broken code snippets until they compile and pass.
Is it a book or an interactive exercise set?
It is an interactive CLI tool with exercises, not a static book. It is meant to be worked through alongside reading the official Rust book.
How do I get it running?
Install via the website's setup instructions (rustlings.rust-lang.org), which walks you through installing the CLI and initializing the exercises in a local directory.
Do I need Rust installed first?
Yes, since it's a Rust CLI tool that compiles and checks your exercise solutions, you need a working Rust toolchain.
Do I need to know Rust already to start?
No prior Rust knowledge is required; it's designed as a beginner-friendly companion for learning the language from scratch.
Does it work on Windows as well as Mac and Linux?
Yes, it's a cross-platform Rust CLI, so it runs on Windows, macOS, and Linux wherever the Rust toolchain is available.
How is the content organized?
Exercises are grouped into topics like variables, functions, error handling, and more, each with small broken snippets you fix to make them compile.
Does it check my solutions automatically?
Yes, the CLI watches your edits and automatically re-checks each exercise, telling you when it compiles and passes so you can move to the next one.
Why use this instead of just reading the Rust book?
The Rust book explains concepts, while Rustlings gives you hands-on practice fixing real code, reinforcing what you read through active problem-solving.
What are similar projects?
learn-python, RustTraining, GolangTraining, rust-by-practice, show-me-the-code, Web-Dev-For-Beginners, html-css, pandas_exercises
Which topics is it in?
exercises, beginner, interactive, programming-language, curriculum, beginner-friendly, command-line, learning, tutorial, rust, education, terminal