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

Update README.md

Added an essential step to Windows installation process (Setting ExecutionPolicy to RemoteSigned because it wouldn't install otherwise).
This commit is contained in:
Socrates 2019-12-22 14:16:04 +02:00 committed by GitHub
parent 426a7bb87f
commit 2021a1ac7d
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,13 @@ This will install Rustlings and give you access to the `rustlings` command. Run
## Windows
You can run:
First, set `ExecutionPolicy` to `RemoteSigned`:
```ps
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