#Bug: claude-cli plugin fails to install

6 messages · Page 1 of 1 (latest)

real kestrel
#

openclaw plugins install claude-cli downloads but fails with: package.json missing openclaw.extensions

Claude CLI is installed (/home/<user>/.local/bin/claude, v2.1.90) but OpenClaw can't use it as a provider. Plugin version: claude-cli 1.0.5
OS: Ubuntu 24.04, OpenClaw 2026.4.11

thorny talonBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

rocky gladeBOT
spice kestrelBOT
#

I’m checking the docs and source so I don’t guess here.

#

Yep, I think you hit a legacy plugin package, not a broken Claude install.

openclaw plugins install claude-cli is pulling a package that still uses the old plugin shape, and OpenClaw 2026.4.x now rejects that with:

package.json missing openclaw.extensions

For current OpenClaw, Claude CLI is bundled through the Anthropic plugin/backend, so you should not install a separate claude-cli plugin.

Try this instead on the gateway host:

claude auth login
openclaw models auth login --provider anthropic --method cli --set-default
openclaw models status

Docs: