Package installer for installing tools packaged as NuGet packages.
The following URI parameters are supported by the
nuget package installer.
This is not a named parameter, but it is permitted as per the URI definition. By default, the provider will attempt to install tools from nuget.org. If the package is hosted on another feed the installation source can be overridden.
Download from myget.org:
Install tool from a local directory:
The name of the NuGet package that should be installed.
The specific version of the NuGet package that should be installed. If not provided, the latest version package that is available will be installed.
To install prerelease tools without defining a specific
#tool nuget:?package=Cake.Foo&version=1.2.3-beta), the
prerelease parameter needs to be passed.
include parameter allows to define the files which should be included.
If the tool filename does not end with
.exe include needs to be passed.
Include a tool with an extension different than
Include only specific files:
exclude parameter allows exclude specific files.
Logging verbosity can be altered through the verbosity of the Cake execution.
When using the out of process NuGet client, the Show Process Command Line configuration value can be set to show the executed command, even without diagnostic verbosity.