fix(cli): auto-update global installs

This commit is contained in:
Peter Steinberger committed 2026-01-16 11:45:37 +00:00
1 parent 19bcbf85df
commit a51ed8a5dd
5 files changed
+203 -13

No files matched your search

+1 -4
View File
@@ -70,10 +70,7 @@ export async function maybeOfferUpdateBeforeDoctor(params: {
note(
[
"This install is not a git checkout.",
"Update via your package manager, then rerun doctor:",
"- npm i -g clawdbot@latest",
"- pnpm add -g clawdbot@latest",
"- bun add -g clawdbot@latest",
"Run `clawdbot update` to update via your package manager (npm/pnpm), then rerun doctor.",
].join("\n"),
"Update",
);