[FEATURE] Plugins - Add postInstall, postUpdate and postUninstall hooks in plugin.json

Resolved 💬 13 comments Opened Oct 11, 2025 by samber Closed Feb 7, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

I just created a plugin that executes Node.js from CC hooks.

Unfortunately, it requires 2 Node.js dependencies.

Proposed Solution

I would be useful to declare 3 more fields in plugin.json:

{
    ...
   "postInstall": "npm install",
   "postUpdate": "npm install",
   "postUninstall": "./script/postUpdate.sh"
   ...
}

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Developer tools/SDK

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

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