Merge pull request #679 from rust-lang/new-install-urls

chore: Update install URLs
This commit is contained in:
marisa 2021-03-21 16:35:44 +01:00 committed by GitHub
commit 1ef368a69d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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.