mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
fix(docs): Added a necessary step to Windows installation process
This commit is contained in:
commit
3906efcd52
1 changed files with 7 additions and 1 deletions
|
@ -33,7 +33,13 @@ This will install Rustlings and give you access to the `rustlings` command. Run
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
You can run:
|
First, set `ExecutionPolicy` to `RemoteSigned`:
|
||||||
|
|
||||||
|
```ps
|
||||||
|
Set-ExecutionPolicy RemoteSigned
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, you can run:
|
||||||
|
|
||||||
```ps
|
```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
|
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
|
||||||
|
|
Loading…
Reference in a new issue