[BUG] `plugins list --json` produces invalid output
Resolved 💬 3 comments Opened May 18, 2026 by allanlewis Closed May 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?
When I run claude plugins list --json (or claude plugin list --json for SEO) the output isn't valid JSON as it contains various non-printable characters.
What Should Happen?
The output of this command should be valid JSON.
Error Messages/Logs
^[7^[[r^[8^[[?25h[^M^M$
^[[2C{^M^M$
^[[4C"id":^[[1C"foobar@my-plugins",^M^M$
Steps to Reproduce
Run claude plugins list --json (or claude plugin list --json).
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.143 (Claude Code)
Platform
Other
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗