1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-28 06:26:07 +02:00

Merge pull request #1729 from VeeDeltaVee/main

docs: fix windows installation instructions
This commit is contained in:
liv 2023-10-18 23:34:17 +02:00 committed by GitHub
commit 0d65d17f10
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

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