Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added an essential step to Windows installation process (Setting ExecutionPolicy to RemoteSigned because it wouldn't install otherwise).
  • Loading branch information
Socrates authored Dec 22, 2019
1 parent 426a7bb commit 2021a1a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2021a1a

Please sign in to comment.