# Plugin CLI commands `ORCA` is the Orca executable you resolved. Every command takes `--json`; branch on `error.code`. Exit codes: 0 ok, 1 error, 2 the plugin is invalid (plugin_invalid), 3 approval is needed (approval_required or approval_stale). Except `plugin check`: 0 ok, 1 a panel failed to render or an editor failed its static check (plugin_check_failed), 2 the plugin is invalid (plugin_invalid). Run `ORCA --help` for a command's notes. - `ORCA plugin create --template [--publisher ] [--id ] [--name ] [--json]`: Scaffold a new Orca plugin from a template - `ORCA plugin types [--json]`: Write the TypeScript typings for Orca plugins into a plugin folder - `ORCA plugin test [dir] [--json]`: Run a plugin's own tests on this machine, unsandboxed: only for code you trust - `ORCA plugin check [dir] [--json]`: Validate a plugin, render each components panel once on this machine (unsandboxed: only for code you trust), and statically check each custom editor - `ORCA plugin validate [--json]`: Check a plugin folder, manifest or catalog the way Orca will load it - `ORCA plugin inspect [--json]`: Show what a plugin folder contributes, the access it asks for, and its content hash - `ORCA plugin release-entry [--json]`: Print the catalog release entry for a plugin folder's committed HEAD - `ORCA plugin list [--json]`: List plugins on the Orca host with their status and access level - `ORCA plugin logs [--json]`: Print the recent log lines of a plugin - `ORCA plugin enable [--approve ] [--json]`: Enable a plugin; code and capabilities need --approve - `ORCA plugin disable [--json]`: Disable a plugin - `ORCA plugin system on [--json]`: Turn plugins on for the Orca host - `ORCA plugin system off [--json]`: Turn plugins off for the Orca host - `ORCA plugin restart [--json]`: Stop a plugin's worker so its next command or event starts it fresh - `ORCA plugin dev watch [--check] [--shot [--shot-panel ]] [--approve ] [--json]`: Load a plugin folder, then stream its logs and reloads until Ctrl-C - `ORCA plugin dev load [--approve ] [--json]`: Load a plugin folder into Orca as a development plugin - `ORCA plugin dev reload [] [--approve ] [--json]`: Reload development plugins now, or one folder and re-check its approval - `ORCA plugin dev inspect [--json]`: Open DevTools for a plugin's open panels and editors - `ORCA plugin dev emit [--data ] [--json]`: Fire a test event at a development plugin's worker and open panels - `ORCA plugin dev hook --data [--json]`: Run a hook through a development plugin's worker and print what the chain decided - `ORCA plugin dev request [--data ] [--panel ] [--timeout-ms ] [--json]`: Call a development plugin's worker handler the way a panel's plugin.request does - `ORCA plugin dev unload [--json]`: Remove a development folder from Orca - `ORCA plugin open [--panel | --editor ] [--json]`: Show a plugin's panel in Orca's right sidebar, or open a file in its editor - `ORCA plugin shot [--panel | --editor | --status-bar | --window] [--theme ] [--width ] [--height ] [--act '' [--in-place] | --scenario ] [--out ] [--json]`: Save a PNG of a plugin panel exactly as Orca draws it, to look at what you built