summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortim bangma <git.bangma@pm.me>2020-06-10 04:51:03 -0400
committerGitHub <noreply@github.com>2020-06-10 10:51:03 +0200
commitf47d3f422db69da93d7528ac472296d8962037ec (patch)
treedb0a3a882bf00d9e10398aa9fdadc40145d6b5d7
parente6bd8021d9a7dd06feebc30c9d5f953901d7b419 (diff)
docs: Update `Invoke-WebRequest` to `Start-BitsTransfer` (#373)
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0fd6cd7..6724f05 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ Set-ExecutionPolicy RemoteSigned
Then, 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
+Start-BitsTransfer -Source https://git.io/rustlings-win -Destination $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.