summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiannasoreil <mokou@fastmail.com>2022-04-27 12:21:12 +0200
committerGitHub <noreply@github.com>2022-04-27 12:21:12 +0200
commitc5de2d686dcaa71375890df2b1afc4c7c84dd196 (patch)
tree54cc5ce1d07425b73219203182a0e7ab7ef02c1a
parentb7cce5c05067544afe21b56102312998c6105f0e (diff)
parent13832d772646b149368e0470ad65ca0fa3722540 (diff)
Merge pull request #981 from liby/feature/replace-git-io-short-link
docs: replace git.io link with the original URL
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index f954618..fd2d4e4 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,9 @@ You will need to have Rust installed. You can get it by visiting https://rustup.
Just run:
```bash
-curl -L https://git.io/install-rustlings | bash
+curl -L https://raw.githubusercontent.com/rust-lang/rustlings/master/install.sh | bash
# Or if you want it to be installed to a different path:
-curl -L https://git.io/install-rustlings | bash -s mypath/
+curl -L https://raw.githubusercontent.com/rust-lang/rustlings/master/install.sh | bash -s mypath/
```
This will install Rustlings and give you access to the `rustlings` command. Run it to get started!
@@ -39,7 +39,7 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Then, you can run:
```ps1
-Start-BitsTransfer -Source https://git.io/JTL5v -Destination $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.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
```
To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.