mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-03-31 03:29:19 +00:00
Add quick start instructions to README
Added clear steps to install and run Rustlings, including rustlings watch command.
This commit is contained in:
parent
37cbcd9049
commit
cb4e8b5150
22
README.md
22
README.md
@ -5,3 +5,25 @@ Small exercises to get you used to reading and writing [Rust](https://www.rust-l
|
|||||||
Visit the **website** for a demo, info about setup and more:
|
Visit the **website** for a demo, info about setup and more:
|
||||||
|
|
||||||
## ➡️ [rustlings.rust-lang.org](https://rustlings.rust-lang.org) ⬅️
|
## ➡️ [rustlings.rust-lang.org](https://rustlings.rust-lang.org) ⬅️
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
If you are returning to Rustlings, you can simply run:
|
||||||
|
|
||||||
|
rustlings watch
|
||||||
|
|
||||||
|
To set up Rustlings for the first time:
|
||||||
|
|
||||||
|
1. Install Rust:
|
||||||
|
https://www.rust-lang.org/tools/install
|
||||||
|
|
||||||
|
2. Clone this repository:
|
||||||
|
git clone https://github.com/rust-lang/rustlings
|
||||||
|
cd rustlings
|
||||||
|
|
||||||
|
3. Install Rustlings:
|
||||||
|
cargo install --path .
|
||||||
|
|
||||||
|
4. Start Rustlings:
|
||||||
|
rustlings watch
|
||||||
|
|
||||||
|
This command will automatically run and check your exercises as you work.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user