docs: update Getting Started section

This commit is contained in:
SiddhiPandey08 2025-08-19 19:06:40 +05:30
parent 876c93ce89
commit 43371051de

View File

@ -1,16 +1,31 @@
# [Rustlings](https://rustlings.rust-lang.org) 🦀 # Rustlings 🦀
Small exercises to get you used to reading and writing [Rust](https://www.rust-lang.org) code - _Recommended in parallel to reading [the official Rust book](https://doc.rust-lang.org/book) 📚_ [![Rust](https://img.shields.io/badge/Rust-🦀-orange?style=flat&logo=rust)](https://www.rust-lang.org)
[![Build Status](https://img.shields.io/github/actions/workflow/status/rust-lang/rustlings/ci.yml?branch=main&label=build)](https://github.com/rust-lang/rustlings/actions)
[![License](https://img.shields.io/github/license/rust-lang/rustlings)](LICENSE)
Visit the **website** for a demo, info about setup and more: 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).
## ➡️ [rustlings.rust-lang.org](https://rustlings.rust-lang.org) ⬅️ 👉 Visit the website for more info, setup guides, and a demo:
**[rustlings.rust-lang.org](https://rustlings.rust-lang.org)**
## Getting Started ---
To get started with Rustlings: ## Getting Started
1. Make sure you have [Rust](https://www.rust-lang.org/tools/install) installed. Run these commands to get started with Rustlings:
```bash
rustc --version ```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