Skip to content

Commit cece12e

Browse files
author
marisa
committed
docs: Add automatic Windows support to Readme
1 parent 68d1727 commit cece12e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ curl -L https://git.io/rustlings | bash -s mypath/
3131

3232
This will install Rustlings and give you access to the `rustlings` command. Run it to get started!
3333

34+
## Windows
35+
36+
You can run:
37+
38+
```ps
39+
Invoke-WebRequest https://git.io/rustlings-win | Select-Object -ExpandProperty Content | Out-File $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1
40+
```
41+
42+
To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.
43+
3444
## Manually
3545

3646
Basically: Clone the repository, checkout to the latest tag, run `cargo install`.

0 commit comments

Comments
 (0)