


























@@ -234,8 +234,8 @@ openclaw plugins install <plugin> --marketplace <source>
234234openclaw plugins install <plugin> --marketplace https://github.com/<owner>/<repo>
235235openclaw plugins install <spec> --pin # record exact resolved npm spec
236236openclaw plugins install <spec> --dangerously-force-unsafe-install
237-openclaw plugins update <id> # update one plugin
238-openclaw plugins update <id> --dangerously-force-unsafe-install
237+openclaw plugins update <id-or-npm-spec> # update one plugin
238+openclaw plugins update <id-or-npm-spec> --dangerously-force-unsafe-install
239239openclaw plugins update --all # update all
240240openclaw plugins uninstall <id> # remove config/install records
241241openclaw plugins uninstall <id> --keep-files
@@ -250,9 +250,18 @@ Bundled plugins ship with OpenClaw. Many are enabled by default (for example
250250bundled model providers, bundled speech providers, and the bundled browser
251251plugin). Other bundled plugins still need `openclaw plugins enable <id>`.
252252253-`--force` overwrites an existing installed plugin or hook pack in place.
254-It is not supported with `--link`, which reuses the source path instead of
255-copying over a managed install target.
253+`--force` overwrites an existing installed plugin or hook pack in place. Use
254+`openclaw plugins update <id-or-npm-spec>` for routine upgrades of tracked npm
255+plugins. It is not supported with `--link`, which reuses the source path instead
256+of copying over a managed install target.
257+258+`openclaw plugins update <id-or-npm-spec>` applies to tracked installs. Passing
259+an npm package spec with a dist-tag or exact version resolves the package name
260+back to the tracked plugin record and records the new spec for future updates.
261+Passing the package name without a version moves an exact pinned install back to
262+the registry's default release line. If the installed npm plugin already matches
263+the resolved version and recorded artifact identity, OpenClaw skips the update
264+without downloading, reinstalling, or rewriting config.
256265257266`--pin` is npm-only. It is not supported with `--marketplace`, because
258267marketplace installs persist marketplace source metadata instead of an npm spec.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。