mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-08 09:09:17 +01:00
Update section about command not found
This commit is contained in:
parent
3e09e509d6
commit
12d1971b0d
@ -54,11 +54,12 @@ rustlings init
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary><strong>If the command `rustlings` can't be found…</strong> (<em>click to expand</em>)</summary>
|
||||
<summary><strong>If the command <code>rustlings</code> can't be found…</strong> (<em>click to expand</em>)</summary>
|
||||
|
||||
You are probably using Linux and installed Rust using your package manager.
|
||||
|
||||
Cargo installs binaries to the directory `~/.cargo/bin`.
|
||||
You are probably using Linux and installed Rust using your package manager.
|
||||
Sadly, these package managers often don't add `~/.cargo/bin` to your `PATH` environment variable.
|
||||
Sadly, package managers often don't add `~/.cargo/bin` to your `PATH` environment variable.
|
||||
The solution is to either add it manually or to uninstall Rust from the package manager and isntall it using the official way with `rustup`:
|
||||
https://www.rust-lang.org/tools/install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user