docs: document installer recovery cleanup · openclaw/openclaw@9be8d43
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -67,6 +67,20 @@ Add `--no-onboard` to skip onboarding. To force a specific install type through
|
67 | 67 | the installer, pass `--install-method git --no-onboard` or |
68 | 68 | `--install-method npm --no-onboard`. |
69 | 69 | |
| 70 | +If `openclaw update` fails after the npm package install phase, re-run the |
| 71 | +installer. The installer does not call the old updater; it runs the global |
| 72 | +package install directly and can recover a partially updated npm install. |
| 73 | + |
| 74 | +```bash |
| 75 | +curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method npm |
| 76 | +``` |
| 77 | + |
| 78 | +To pin the recovery to a specific version or dist-tag, add `--version`: |
| 79 | + |
| 80 | +```bash |
| 81 | +curl -fsSL https://openclaw.ai/install.sh | bash -s -- --install-method npm --version <version-or-dist-tag> |
| 82 | +``` |
| 83 | + |
70 | 84 | ## Alternative: manual npm, pnpm, or bun |
71 | 85 | |
72 | 86 | ```bash |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。