summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-07-13 12:02:39 +0200
committermo8it <mo8it@proton.me>2024-07-13 12:02:39 +0200
commit12d1971b0d458045f318927f1ce18bb6808a19c0 (patch)
tree79c97acb07e37214522c9477f16d75492d4c38e5 /README.md
parent3e09e509d649cfb97f42e4d8547b4a077caaa520 (diff)
Update section about command not found
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 064451a..35463ef 100644
--- a/README.md
+++ b/README.md
@@ -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>
-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.
+
+Cargo installs binaries to the directory `~/.cargo/bin`.
+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