[BUG] claude plugins --json fails with "unknown option '--json'" in Manage Plugins panel (v2.1.145)

Resolved 💬 3 comments Opened May 20, 2026 by edwardkao6413 Closed Jun 20, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The Manage Plugins panel in the VS Code extension shows the following error:
Failed to load plugins: Claude CLI exited with code 1: error: unknown option '--json'

<img width="555" height="262" alt="Image" src="https://github.com/user-attachments/assets/698cd9f3-2ca2-4543-a850-3a5b2bc1113e" />

What Should Happen?

The Manage Plugins panel loads and displays installed plugins. It needs to show all the plugins we have, and the on/off buttons.

Error Messages/Logs

Failed to load plugins: Claude CLI exited with code 1: error: unknown option '--json'

Steps to Reproduce

Reproducing the issue by running the command the extension calls internally in powershell:
claude plugins --json
Returns
error: unknown option '--json'

  1. Install Claude Code VS Code extension v2.1.145
  2. Install Claude CLI v2.1.145 via npm install -g @anthropic-ai/claude-code
  3. Open VS Code → Claude Code → Manage Plugins
  4. Panel shows error: Failed to load plugins: Claude CLI exited with code 1: error: unknown option '--json'

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

before v2.1.129 release

Claude Code Version

2.1.145

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Environment:

  1. OS: Windows 11 Home (10.0.26200)
  2. VS Code extension version: 2.1.145
  3. Claude CLI version: 2.1.145 (installed via npm)
  4. Shell: PowerShell 5.1

summary:
The --json flag appears to have been added to the extension but not yet implemented in the CLI for the plugins subcommand. Both packages are at the same version (2.1.145)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗