mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 05:09:19 +00:00
Merge f05a40fa9533fe3c5e99353038c0bc5c631a651c into 9ffcab07bff9f97fcf907030f1af3635a411cd1e
This commit is contained in:
commit
d85c09eafd
12
README.md
12
README.md
@ -16,7 +16,9 @@ _Note: If you're on Linux, make sure you've installed gcc. Deb: `sudo apt instal
|
|||||||
|
|
||||||
You will need to have Rust installed. You can get it by visiting https://rustup.rs. This'll also install Cargo, Rust's package/project manager.
|
You will need to have Rust installed. You can get it by visiting https://rustup.rs. This'll also install Cargo, Rust's package/project manager.
|
||||||
|
|
||||||
## MacOS/Linux
|
## Installing
|
||||||
|
|
||||||
|
### MacOS/Linux
|
||||||
|
|
||||||
Just run:
|
Just run:
|
||||||
|
|
||||||
@ -31,7 +33,7 @@ curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh |
|
|||||||
|
|
||||||
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!
|
||||||
|
|
||||||
### Nix
|
#### Nix
|
||||||
|
|
||||||
Basically: Clone the repository at the latest tag, finally run `nix develop` or `nix-shell`.
|
Basically: Clone the repository at the latest tag, finally run `nix develop` or `nix-shell`.
|
||||||
|
|
||||||
@ -45,7 +47,7 @@ nix develop
|
|||||||
nix-shell
|
nix-shell
|
||||||
```
|
```
|
||||||
|
|
||||||
## Windows
|
### Windows
|
||||||
|
|
||||||
In PowerShell (Run as Administrator), set `ExecutionPolicy` to `RemoteSigned`:
|
In PowerShell (Run as Administrator), set `ExecutionPolicy` to `RemoteSigned`:
|
||||||
|
|
||||||
@ -63,13 +65,13 @@ To install Rustlings. Same as on MacOS/Linux, you will have access to the `rustl
|
|||||||
|
|
||||||
If you get a permission denied message, you might have to exclude the directory where you cloned Rustlings in your antivirus.
|
If you get a permission denied message, you might have to exclude the directory where you cloned Rustlings in your antivirus.
|
||||||
|
|
||||||
## Browser
|
### Browser
|
||||||
|
|
||||||
[](https://gitpod.io/#https://github.com/rust-lang/rustlings)
|
[](https://gitpod.io/#https://github.com/rust-lang/rustlings)
|
||||||
|
|
||||||
[](https://github.com/codespaces/new/?repo=rust-lang%2Frustlings&ref=main)
|
[](https://github.com/codespaces/new/?repo=rust-lang%2Frustlings&ref=main)
|
||||||
|
|
||||||
## Manually
|
### Manually
|
||||||
|
|
||||||
Basically: Clone the repository at the latest tag, run `cargo install --path .`.
|
Basically: Clone the repository at the latest tag, run `cargo install --path .`.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user