docs: document global plugin installation

This commit is contained in:
2026-08-01 19:02:48 +05:30
parent fa8ea49252
commit 09a0e73bb9
+4 -2
View File
@@ -11,10 +11,12 @@ Customize OpenCode's compaction prompt for priority-aware compaction, deciding w
## Install
```bash
opencode plugin opencode-plugin-compaction-prompt
opencode plugin -g opencode-plugin-compaction-prompt
```
Or add it to `opencode.json` manually:
This installs the plugin in your global OpenCode configuration. To install it for one project only, omit `-g`.
You can also add it manually to your global `opencode.jsonc`:
```json
{