opencode cli should have install/uninstall support for plugins #1257

Closed
opened 2026-02-16 17:30:11 -05:00 by yindo · 4 comments
Owner

Originally created by @rekram1-node on GitHub (Aug 12, 2025).

Originally assigned to: @thdxr on GitHub.

Originally created by @rekram1-node on GitHub (Aug 12, 2025). Originally assigned to: @thdxr on GitHub.
yindo closed this issue 2026-02-16 17:30:11 -05:00
Author
Owner

@nikhilmaddirala commented on GitHub (Aug 12, 2025):

Additionally, it would be great if we could improve the documentation page for plugins. Just compare how sparse the opencode doc is vs the claude code doc:

https://opencode.ai/docs/plugins/

https://docs.anthropic.com/en/docs/claude-code/hooks

This is probably a prerequisite for the issue described.

@nikhilmaddirala commented on GitHub (Aug 12, 2025): Additionally, it would be great if we could improve the documentation page for plugins. Just compare how sparse the opencode doc is vs the claude code doc: https://opencode.ai/docs/plugins/ https://docs.anthropic.com/en/docs/claude-code/hooks This is probably a prerequisite for the issue described.
Author
Owner

@eggp commented on GitHub (Sep 22, 2025):

Yes, a slightly more detailed description would be really helpful :) Right now I’m struggling with whether I can link the plugin from a local file or if I need to create an npm package. (Based on the logs, it seems to want to install an npm package if I specify a plugin in the config.)

@eggp commented on GitHub (Sep 22, 2025): Yes, a slightly more detailed description would be really helpful :) Right now I’m struggling with whether I can link the plugin from a local file or if I need to create an npm package. (Based on the logs, it seems to want to install an npm package if I specify a plugin in the config.)
Author
Owner

@rekram1-node commented on GitHub (Sep 22, 2025):

@eggp you don't need to create npm package the plugin just needs to be in a specific location:

Plugins are loaded from:
.opencode/plugin directory either in your project
Or, globally in ~/.config/opencode/plugin

@rekram1-node commented on GitHub (Sep 22, 2025): @eggp you don't need to create npm package the plugin just needs to be in a [specific location](https://opencode.ai/docs/plugins/#location): > Plugins are loaded from: .opencode/plugin directory either in your project Or, globally in ~/.config/opencode/plugin
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1257