mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 06:49:19 +00:00
docs: update Getting Started section
This commit is contained in:
parent
876c93ce89
commit
43371051de
35
README.md
35
README.md
@ -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) 📚️_
|
||||
[](https://www.rust-lang.org)
|
||||
[](https://github.com/rust-lang/rustlings/actions)
|
||||
[](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.
|
||||
```bash
|
||||
rustc --version
|
||||
```
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user