From 12d1971b0d458045f318927f1ce18bb6808a19c0 Mon Sep 17 00:00:00 2001 From: mo8it Date: Sat, 13 Jul 2024 12:02:39 +0200 Subject: [PATCH] Update section about command not found --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 064451ae..35463ef1 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,12 @@ rustlings init ```
-If the command `rustlings` can't be found… (click to expand) +If the command rustlings can't be found… (click to expand) + +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