mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
docs: Add automatic Windows support to Readme
This commit is contained in:
parent
68d1727cac
commit
cece12e87e
10
README.md
10
README.md
|
@ -31,6 +31,16 @@ curl -L https://git.io/rustlings | bash -s mypath/
|
||||||
|
|
||||||
This will install Rustlings and give you access to the `rustlings` command. Run it to get started!
|
This will install Rustlings and give you access to the `rustlings` command. Run it to get started!
|
||||||
|
|
||||||
|
## Windows
|
||||||
|
|
||||||
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.
|
||||||
|
|
||||||
## Manually
|
## Manually
|
||||||
|
|
||||||
Basically: Clone the repository, checkout to the latest tag, run `cargo install`.
|
Basically: Clone the repository, checkout to the latest tag, run `cargo install`.
|
||||||
|
|
Loading…
Reference in a new issue