MCPcopy
hub / github.com/Eugeny/tabby / install

Method install

app/lib/pluginManager.ts:26–30  ·  view source on GitHub ↗
(path: string, name: string, version: string)

Source from the content-addressed store, hash-verified

24 }
25
26 async install (path: string, name: string, version: string): Promise<void> {
27 await this.ensureLoaded()
28 this.npm.prefix = path
29 return promisify(this.npm.commands.install)([`${name}@${version}`])
30 }
31
32 async uninstall (path: string, name: string): Promise<void> {
33 await this.ensureLoaded()

Callers 1

constructorMethod · 0.45

Calls 1

ensureLoadedMethod · 0.95

Tested by

no test coverage detected