From ef6285f3708dfaed7a8352747f40d268b6f859fa Mon Sep 17 00:00:00 2001 From: Alix-007 Date: Wed, 18 Mar 2026 01:39:53 +0800 Subject: [PATCH] fix(install): print PATH guidance after cargo install (#3769) Co-authored-by: Alix-007 <267018309+Alix-007@users.noreply.github.com> --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.sh b/install.sh index a45670309..214a1187c 100755 --- a/install.sh +++ b/install.sh @@ -1359,6 +1359,13 @@ else echo -e "${BOLD_BLUE}${CRAB} ZeroClaw installed successfully!${RESET}" fi +if [[ -x "$HOME/.cargo/bin/zeroclaw" ]] && ! have_cmd zeroclaw; then + echo + warn "zeroclaw is installed in $HOME/.cargo/bin, but that directory is not in PATH for this shell." + warn 'Run: export PATH="$HOME/.cargo/bin:$PATH"' + step_dot "To persist it, add that export line to ~/.bashrc, ~/.zshrc, or your shell profile, then open a new shell." +fi + if [[ "$INSTALL_MODE" == "upgrade" ]]; then step_dot "Upgrade complete" fi