mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 06:49:19 +00:00
32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
# Rustlings 🦀
|
|
|
|
[](https://www.rust-lang.org)
|
|
[](https://github.com/rust-lang/rustlings/actions)
|
|
[](LICENSE)
|
|
|
|
Learn [Rust](https://www.rust-lang.org) through small exercises that get you used to reading and writing code.
|
|
📖 Recommended alongside [The Rust Programming Language book](https://doc.rust-lang.org/book).
|
|
|
|
👉 Visit the website for more info, setup guides, and a demo:
|
|
**[rustlings.rust-lang.org](https://rustlings.rust-lang.org)**
|
|
|
|
---
|
|
|
|
## Getting Started
|
|
|
|
Run these commands to get started with Rustlings:
|
|
|
|
```bash
|
|
# 1. Verify Rust is installed
|
|
rustc --version
|
|
|
|
# 2. Clone the repository
|
|
git clone https://github.com/rust-lang/rustlings.git
|
|
cd rustlings
|
|
|
|
# 3. Install Rustlings
|
|
cargo install --path .
|
|
|
|
# 4. Start Rustlings
|
|
rustlings watch
|