Plugin commands reference changedplugins/cli-reference
Nearest release: v2.1.286, published 9 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 30 Sep 2026 07:39 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 30 Sep 2026 08:07 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−0removed
From line
82
where the diff opens
First seen
25 Sep 2026
this site's first read of the page
Recorded edits9to this page, all time
The whole hunk
from line 82, old and new numbered
/
from line 82
8282| `--accept-command <sha256>` | Accept the displayed install command whose `sha256` a previous [`--json` run](#plugin-json-result) reported in `shownCommand`, in place of `-y`. Can't be combined with `-y`. See [Accept a displayed install command](#accept-a-displayed-install-command). Requires Claude Code v2.1.271 or later |
8383| `--json` | Print the result as one JSON object on the last line of stdout instead of the human-readable message, for use in scripts. See [JSON result format](#plugin-json-result). Requires Claude Code v2.1.268 or later |
8484
85Run `claude plugin install --help` in your shell to see every option your version supports.
86
8587Pass `-y` from your own terminal to accept the displayed command without the prompt. Here's what happens without a TTY and when Claude runs the command:
8688
8789* **stdin or stdout isn't a TTY, and you pass neither `-y` nor `--accept-command`**: the install is refused. The output says the command was only displayed, and the exit code is `1`
No line in this hunk matches that.