docs: redirect /install/node to install section

This commit is contained in:
Peter Steinberger
2026-01-16 23:18:44 +00:00
parent 37fa4f7eef
commit af31e0d969
5 changed files with 33 additions and 5 deletions

View File

@@ -733,6 +733,14 @@
"source": "/wizard",
"destination": "/start/wizard"
},
{
"source": "/install/node",
"destination": "/install#nodejs--npm-path-sanity"
},
{
"source": "/install/node/",
"destination": "/install#nodejs--npm-path-sanity"
},
{
"source": "/start/faq",
"destination": "/help"
@@ -779,7 +787,6 @@
"group": "Install & Updates",
"pages": [
"install/index",
"install/node",
"install/installer",
"install/updating",
"install/uninstall",

View File

@@ -10,7 +10,7 @@ read_when:
If you want a quick “get unstuck” flow, start here:
- **Troubleshooting:** [Start here](/help/troubleshooting)
- **Install sanity (Node/npm/PATH):** [Node.js + npm (PATH sanity)](/install/node)
- **Install sanity (Node/npm/PATH):** [Install](/install#nodejs--npm-path-sanity)
- **Gateway issues:** [Gateway troubleshooting](/gateway/troubleshooting)
- **Logs:** [Logging](/logging) and [Gateway logging](/gateway/logging)
- **Repairs:** [Doctor](/gateway/doctor)

View File

@@ -31,7 +31,7 @@ clawdbot status --deep
Almost always a Node/npm PATH issue. Start here:
- [Node.js + npm (PATH sanity)](/install/node)
- [Install (Node/npm PATH sanity)](/install#nodejs--npm-path-sanity)
### Gateway “unauthorized”, cant connect, or keeps reconnecting

View File

@@ -9,7 +9,28 @@ read_when:
Runtime baseline: **Node >=22**.
If the installer says it succeeded but you later see `clawdbot: command not found`, its usually a Node/npm PATH issue. See: [Node.js + npm (PATH sanity)](/install/node).
If the installer says it succeeded but you later see `clawdbot: command not found`, its usually a Node/npm PATH issue (global npm bin dir not on PATH). See the section below.
## Node.js + npm (PATH sanity)
Quick diagnosis:
```bash
node -v
npm -v
npm bin -g
echo "$PATH"
```
If the output of `npm bin -g` is **not** present inside `echo "$PATH"`, your shell cant find global npm binaries (including `clawdbot`).
Fix: add it to your shell startup file (zsh: `~/.zshrc`, bash: `~/.bashrc`):
```bash
export PATH="/path/from/npm/bin/-g:$PATH"
```
Then open a new terminal (or `rehash` in zsh / `hash -r` in bash).
## Recommended (installer script)

View File

@@ -19,7 +19,7 @@ To see the current flags/behavior, run:
curl -fsSL https://clawd.bot/install.sh | bash -s -- --help
```
If the installer completes but `clawdbot` is not found in a new terminal, its usually a Node/npm PATH issue. See: [Node.js + npm (PATH sanity)](/install/node).
If the installer completes but `clawdbot` is not found in a new terminal, its usually a Node/npm PATH issue. See: [Install](/install#nodejs--npm-path-sanity).
## install.sh (recommended)