Skip to content

Commit

Permalink
Update section about command not found
Browse files Browse the repository at this point in the history
  • Loading branch information
mo8it committed Jul 13, 2024
1 parent 3e09e50 commit 12d1971
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 12d1971

Please sign in to comment.