Skip to content

Commit 2021a1a

Browse files
author
Socrates
authored
Update README.md
Added an essential step to Windows installation process (Setting ExecutionPolicy to RemoteSigned because it wouldn't install otherwise).
1 parent 426a7bb commit 2021a1a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ This will install Rustlings and give you access to the `rustlings` command. Run
3333

3434
## Windows
3535

36-
You can run:
36+
First, set `ExecutionPolicy` to `RemoteSigned`:
37+
38+
```ps
39+
Set-ExecutionPolicy RemoteSigned
40+
```
41+
42+
Then, you can run:
3743

3844
```ps
3945
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

0 commit comments

Comments
 (0)