Visit the https://github.com/rust-lang/rustlings repo and follow the instructions to clone and run rustlings.
rustlings