diff options
| author | Versha Dhankar <45564258+VeeDeltaVee@users.noreply.github.com> | 2023-10-17 11:54:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-17 11:54:59 -0700 |
| commit | d757726aca44bbb4f96de21990c29714a0a497ca (patch) | |
| tree | b83c561a71f48001fe2408c69ad1fee388f07bea | |
| parent | 33220c5109d583b55dbb1012a143156826909399 (diff) | |
docs: fix windows installation instructions
Currently, the windows installation instructions download a script from the URL ps1.rustlings.cool. This URL isn't detected as a URL in some cases, which means that PowerShell tries to load the data from a local file called ps1.rustlings.cool.
This was breaking my install, and adding the https:// fixed it.
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser Then, you can run: ```ps1 -Start-BitsTransfer -Source ps1.rustlings.cool -Destination $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1 +Start-BitsTransfer -Source https://ps1.rustlings.cool -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. Keep in mind that this works best in PowerShell, and any other terminals may give you errors. |
