diff options
| author | marisa <mokou@posteo.de> | 2019-10-23 13:01:07 +0200 |
|---|---|---|
| committer | marisa <mokou@posteo.de> | 2019-10-23 13:01:07 +0200 |
| commit | cece12e87e9c614917a1c837765167d979785b99 (patch) | |
| tree | 1852512f976da1bd084489cf783d9a83bb412ac2 | |
| parent | 68d1727cac8b6a7900c1c7e5e1265deb2aa3802d (diff) | |
docs: Add automatic Windows support to Readme
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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`. |
