1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-04-25 07:15:04 +02:00

docs: Update `Invoke-WebRequest` to `Start-BitsTransfer` (#373)

This commit is contained in:
tim bangma 2020-06-10 04:51:03 -04:00 committed by GitHub
parent e6bd8021d9
commit f47d3f422d
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.