From cece12e87e9c614917a1c837765167d979785b99 Mon Sep 17 00:00:00 2001 From: marisa Date: Wed, 23 Oct 2019 13:01:07 +0200 Subject: [PATCH] docs: Add automatic Windows support to Readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 119f9dc..48fff64 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,16 @@ curl -L https://git.io/rustlings | bash -s mypath/ This will install Rustlings and give you access to the `rustlings` command. Run it to get started! +## Windows + +You can run: + +```ps +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 +``` + +To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it. + ## Manually Basically: Clone the repository, checkout to the latest tag, run `cargo install`.