summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-10-13 13:28:45 +0200
committerGitHub <noreply@github.com>2023-10-13 13:28:45 +0200
commitb97c88f202b9b9c6f635748198203f2dd5b5cfbe (patch)
tree02fff4ff3467cd3276e5ff14430c8b6d471b6763 /README.md
parentd15096f0dfc4dc4bdeffb35ea4df707438dba709 (diff)
docs: use new fancy install aliases
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8fac7a2..cf001e2 100644
--- a/README.md
+++ b/README.md
@@ -25,13 +25,13 @@ You will need to have Rust installed. You can get it by visiting <https://rustup
Just run:
```bash
-curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash
+curl -L sh.rustlings.cool | bash
```
Or if you want it to be installed to a different path:
```bash
-curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash -s mypath/
+curl -L sh.rustlings.cool | bash -s mypath/
```
This will install Rustlings and give you access to the `rustlings` command. Run it to get started!
@@ -61,7 +61,7 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Then, you can run:
```ps1
-Start-BitsTransfer -Source https://raw.githubusercontent.com/rust-lang/rustlings/main/install.ps1 -Destination $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1
+Start-BitsTransfer -Source ps1.rustlings.cool -Destination $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. Keep in mind that this works best in PowerShell, and any other terminals may give you errors.