We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Install Plugins

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.

List Plugins

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