chore: Update install URLs

This commit is contained in:
marisa 2021-03-21 16:34:21 +01:00 committed by GitHub
parent 550c4293ed
commit 8dc587b01a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,9 +24,9 @@ You will need to have Rust installed. You can get it by visiting https://rustup.
Just run: Just run:
```bash ```bash
curl -L https://git.io/rustlings | bash curl -L https://git.io/install-rustlings | bash
# Or if you want it to be installed to a different path: # Or if you want it to be installed to a different path:
curl -L https://git.io/rustlings | bash -s mypath/ curl -L https://git.io/install-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!
@ -42,7 +42,7 @@ Set-ExecutionPolicy RemoteSigned
Then, you can run: Then, you can run:
```ps ```ps
Start-BitsTransfer -Source https://git.io/rustlings-win -Destination $env:TMP/install_rustlings.ps1; Unblock-File $env:TMP/install_rustlings.ps1; Invoke-Expression $env:TMP/install_rustlings.ps1 Start-BitsTransfer -Source https://git.io/install-rustlings-win -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. To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustlings` command after it.