Skip to main content
Version: 0.21.0

Function: installFromMarketplace()

function installFromMarketplace(
dir,
spec,
scopeDir
): Promise<{
commit?: string;
marketplace: string;
name: string;
replaced: boolean;
}>;

Defined in: core/marketplaces.ts:265

Installs <plugin>@<marketplace> (or a plugin only one known marketplace offers) into a scope, locked with where it came from. Its name in the agent is its plugin.json's, as for any extension.

Parameters​

ParameterType
dirstring
specstring
scopeDirstring

Returns​

Promise<{ commit?: string; marketplace: string; name: string; replaced: boolean; }>