The Cline CLI provides aDocumentation Index
Fetch the complete documentation index at: https://docs.cline.bot/llms.txt
Use this file to discover all available pages before exploring further.
plugin install command to install plugins from various sources. You can also load plugins programmatically via session config.
CLI Installation
Use thecline plugin install command to install plugins from npm, git repositories, or local paths.
cline plugin i works as well.
Install from npm
Install from Git
.git directory is excluded from the final install.
Install from Local Source
.git and node_modules, and run npm install to resolve dependencies.
Options
| Option | Description |
|---|---|
--npm | Treat the source as an npm package name |
--git | Treat the source as a git repository URL |
--force | Overwrite an existing plugin at the same path |
--json | Output results as JSON (useful for scripting) |
--cwd | Working directory for relative paths |
Examples
Listing Installed Plugins
Installed plugins appear in theplugins section of your CLI config:
Programmatic Installation
Using pluginPaths (ClineCore)
In SDK code, load plugins from file paths using the pluginPaths session config option:
AgentPlugin as the default export.
Using plugins (Agent Runtime)
When using the Agent or AgentRuntime directly, pass plugin instances in the plugins array:
Using extensions (ClineCore)
With ClineCore, use the extensions config array instead:
Next Steps
- Learn about Plugins — Understand what plugins are and their benefits.
- Follow the Writing Plugins guide — Build and distribute your own plugin.
- Explore Plugin Examples — Copy ready-to-run plugin examples from the SDK repository.

