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 file URLs, npm, git repositories, or local paths.
cline plugin i works as well.
Install from a File URL
.ts or .js plugin file from an HTTPS URL. GitHub blob URLs are normalized to raw file downloads automatically.
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 | Install to <path>/.cline/plugins and resolve relative local paths from <path> |
Examples
Listing Installed Plugins
Installed plugins appear in theplugins section of your CLI config:
Find All Your Plugins from your file system
Project-scoped plugins live in the.cline/plugins/ folder at your workspace root. The CLI auto-discovers plugins from this folder when you run Cline in that project.
--cwd:
~/.cline/plugins/, and Cline may also discover plugins from the system Plugins folder. Use --cwd . when you want plugins to stay with a specific project.
Programmatic Installation
Using pluginPaths (ClineCore)
In SDK code, load plugins from file paths using the pluginPaths session config option:
AgentPlugin as the default export. pluginPaths also accepts a package directory — the SDK reads package.json and follows the cline.plugins entries, so you can npm install once inside a package and iterate without re-running cline plugin install on every edit.
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 to install ready-to-run plugin examples from the SDK repository.

