summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSocrates <socratides@gmail.com>2019-12-22 14:16:04 +0200
committerGitHub <noreply@github.com>2019-12-22 14:16:04 +0200
commit2021a1ac7d06fd70fd76f01c72ecc4584b7f73c2 (patch)
tree12ccec661c5a6eb38421bedfc695407659925b46 /README.md
parent426a7bb87f5ac08841bf0272887333a4a7925eae (diff)
Update README.md
Added an essential step to Windows installation process (Setting ExecutionPolicy to RemoteSigned because it wouldn't install otherwise).
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2796a6f..7e76031 100644
--- a/README.md
+++ b/README.md
@@ -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