Use this page for common plugin management commands. For the exhaustive command contract, flags, source-selection rules, and edge cases, seeDocumentation Index
Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
openclaw plugins.
Most install workflows are:
- find a package
- install it from ClawHub, npm, git, or a local path
- let the managed Gateway auto-restart, or restart it manually when unmanaged
- verify the plugin’s runtime registrations
List and search plugins
--json for scripts:
plugins list is a cold inventory check. It shows what OpenClaw can discover
from config, manifests, and the plugin registry; it does not prove that an
already-running Gateway imported the plugin runtime. The JSON output includes
registry diagnostics and each plugin’s static dependencyStatus when the
plugin package declares dependencies or optionalDependencies.
plugins search queries ClawHub for installable plugin packages and prints
install hints such as openclaw plugins install clawhub:<package>.
Install plugins
clawhub:,
npm:, git:, or npm-pack: when you need deterministic source selection.
If the bare name matches an official plugin id, OpenClaw can install the
catalog entry directly.
Use --force only when you intentionally want to overwrite an existing install
target. For routine upgrades of tracked npm, ClawHub, or hook-pack installs, use
openclaw plugins update.
Restart and inspect
After installing, updating, or uninstalling plugin code, a running managed Gateway with config reload enabled restarts automatically. If the Gateway is not managed or reload is disabled, restart it yourself before checking live runtime surfaces:inspect --runtime when you need proof that the plugin registered runtime
surfaces such as tools, hooks, services, Gateway methods, HTTP routes, or
plugin-owned CLI commands. Plain inspect and list are cold manifest,
config, and registry checks.
Update plugins
@beta and exact pinned versions continue to be used on
later update <plugin-id> runs.
For npm installs, you can pass an explicit package spec to switch the tracked
record:
openclaw update runs on the beta channel, plugin records can prefer
matching @beta releases. For the exact fallback and pinning rules, see
openclaw plugins.
Uninstall plugins
--keep-files. A running managed
Gateway restarts automatically when the uninstall changes plugin source.
In Nix mode (OPENCLAW_NIX_MODE=1), plugin install, update, uninstall, enable,
and disable commands are disabled. Manage those choices in the Nix source for
the install instead.
Choose a source
| Source | Use when | Example |
|---|---|---|
| ClawHub | You want OpenClaw-native discovery, scan summaries, versions, and hints | openclaw plugins install clawhub:<package> |
| npmjs.com | You already ship JavaScript packages or need npm dist-tags/private registry | openclaw plugins install npm:@acme/openclaw-plugin |
| git | You want a branch, tag, or commit from a repository | openclaw plugins install git:github.com/<owner>/<repo>@<ref> |
| local path | You are developing or testing a plugin on the same machine | openclaw plugins install --link ./my-plugin |
| npm pack | You are proving a local package artifact through npm install semantics | openclaw plugins install npm-pack:<path.tgz> |
| marketplace | You are installing a Claude-compatible marketplace plugin | openclaw plugins install <plugin> --marketplace <source> |
Publish plugins
ClawHub is the primary public discovery surface for OpenClaw plugins. Publish there when you want users to find plugin metadata, version history, registry scan results, and install hints before they install.package.json
- ClawHub publishing explains owners, scopes, releases, review, package validation, and package transfer.
- Building plugins shows the plugin package shape and first publish workflow.
- Plugin manifest defines native plugin manifest fields.
clawhub: or npm: prefix when you need to force one source.
Related
- Plugins - install, configure, restart, and troubleshoot
openclaw plugins- full CLI reference- Community plugins - public discovery and ClawHub publishing
- ClawHub - registry CLI operations
- Building plugins - create a plugin package
- Plugin manifest - manifest and package metadata