Skip to content

Commit f47d3f4

Browse files
author
tim bangma
authored
docs: Update Invoke-WebRequest to Start-BitsTransfer (#373)
1 parent e6bd802 commit f47d3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Set-ExecutionPolicy RemoteSigned
4343
Then, you can run:
4444

4545
```ps
46-
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
46+
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
4747
```
4848

4949
To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.

0 commit comments

Comments
 (0)