diff --git a/hermes/install.sh b/hermes/install.sh index 7b74e5f..953b4a9 100755 --- a/hermes/install.sh +++ b/hermes/install.sh @@ -26,6 +26,12 @@ REPO_ROOT="$(dirname -- "$SCRIPT_DIR")" say() { printf '%s\n' "$*" >&2; } +# The installer links the CLI into ~/.local/bin, which is only on PATH in +# shells that sourced the managed ~/.zshrc. bootstrap run by a non-shell +# parent (the Coder agent's dotfiles script) has no such PATH, so the +# post-install `command -v hermes` failed on a successful install. +PATH="$HOME/.local/bin:$PATH" + # Hermes Agent version (synced with PyPI/npm). HERMES_VERSION="v0.18.2"