What this thread does
Do first: On the CLI, use cline plugin install with --npm for packages or a local source path; add --cwd . for this project.
Short answer
Cline copies local sources and resolves dependencies. Project installs are discovered from .cline/plugins/ when Cline runs in that workspace.
What to do
| Need | Value / action |
|---|---|
| CLI syntax / alias | cline plugin install <source> [options]; cline plugin i |
| npm | cline plugin install --npm @scope/plugin-name |
| Local file | cline plugin install ./path/to/plugin.ts |
| Local directory | cline plugin install /absolute/path/to/dir; directory has package.json |
| Project location | --cwd <path> installs to <path>/.cline/plugins and resolves relative local paths from <path>; use --cwd . for the current project |
| Replace / machine output | --force overwrites an existing plugin at the same path; --json returns JSON |
| Git source | --git; shallow clone, excludes .git, installs dependencies |
| HTTPS file source | One .ts or .js file; GitHub blob links become raw downloads |
| Local copy behavior | Excludes .git and node_modules; runs npm install |
| Inspect installation | cline config, under plugins |
| SDK file/directory loading | ClineCore session config pluginPaths; files default-export AgentPlugin; directories use package.json → cline.plugins |
| In-memory SDK instances | Agent / AgentRuntime: plugins array; ClineCore: extensions config array |
Limits and open questions
The page gives no minimum CLI/SDK version or installation limits. Directory loading through pluginPaths supports editing after one npm install without reinstalling the plugin each time.
Not for: Claude Code plugin marketplaces.
Sources
Checked
2026-11-17; read Cline Installing Plugins; no command was run.
Started from a post by @cline, packaged by the editor. Original post