NpmInstallAliases.

NpmInstall(ICakeContext, string[]) Method

Summary

Install one or more packages to the project in the current working directory.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmInstallAliases

Syntax

public static void NpmInstall(this ICakeContext context, params string[] packages)

Examples

NpmInstall("gulp", "left-pad");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
packages string[] one or more packages

Return Value

Type Description
void