ToolInstaller.

Install(PackageReference) Method

Summary

Installs a tool using the specified package reference.
Namespace
Cake.Core.Tooling
Containing Type
ToolInstaller

Syntax

public IEnumerable<FilePath> Install(PackageReference tool)

Parameters

Name Type Description
tool PackageReference The package reference for the tool to install.

Return Value

Type Description
IEnumerable<FilePath> An enumerable of file paths where the tool was installed.