

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Plugins
incomplete
2: Loading Plugins
incomplete
3: Install Plugins
incomplete
4: Plugin Transforms
incomplete
5: Plugin Hooks
incomplete
6: Plugin Tools
incomplete
7: Publishing Plugins
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
If you want to install someone else's plugin, just add the relevant npm package name to the plugins array in opencode.jsonc:
{
"$schema": "https://opencode.ai/config.json",
"plugins": ["opencode-example-plugin", "@my-org/custom-plugin"],
}
OpenCode installs each package and its dependencies in a separate cache directory.
Again, list the plugin in project config if it's meant to be shared with collaborators, or in your global config for personal setup.
The CLI can list the currently configured plugins, showing the ID, version, and source of each:
opencode plugin list
By default, OpenCode's built-in plugins are excluded. To include those as well:
opencode plugin list --builtin