Cake.Cli 3.0.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Cake.Cli --version 3.0.0
NuGet\Install-Package Cake.Cli -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cake.Cli" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cake.Cli --version 3.0.0
#r "nuget: Cake.Cli, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cake.Cli as a Cake Addin
#addin nuget:?package=Cake.Cli&version=3.0.0

// Install Cake.Cli as a Cake Tool
#tool nuget:?package=Cake.Cli&version=3.0.0


Cake (C# Make) is a build automation system with a C# DSL to do things like compiling code, copy files/folders, running unit tests, compress files and build NuGet packages.

Table of Contents

  1. Documentation
  2. Contributing
  3. Get in touch
  4. License


You can read the latest documentation at

For a simple example to get started see Setting up a new project.


So you’re thinking about contributing to Cake? Great! It’s really appreciated.

Make sure you've read the contribution guidelines before sending that epic pull request. You'll also need to sign the contribution license agreement (CLA) for anything other than a trivial change. NOTE: The .NET Foundation CLA Bot will provide a link to this CLA within the PR that you submit if it is deemed as required.

  • Fork the repository.
  • Create a branch to work in.
  • Make your feature addition or bug fix.
  • Don't forget the unit tests.
  • Send a pull request.

Get in touch

Follow @cakebuildnet

Join the chat at


Copyright © .NET Foundation, Patrik Svensson, Mattias Karlsson, Gary Ewan Park, Alistair Chapman, Martin Björkström, Dave Glick, Pascal Berger, Jérémie Desautels, Enrico Campidoglio, C. Augusto Proiete, Nils Andresen, and contributors.

Cake is provided as-is under the MIT license. For more information see LICENSE.


A big thank you has to go to JetBrains who provide each of the Cake Developers with an Open Source License for ReSharper that helps with the development of Cake.


Our wonderful sponsors:



Our wonderful backers:


Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Contribution License Agreement

By signing the CLA, the community is free to use your contribution to .NET Foundation projects.

.NET Foundation

This project is supported by the .NET Foundation.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Cake.Cli:

Package Downloads
Cake.Frosting The ID prefix of this package has been reserved for one of the owners of this package by

The .NET Core host for Cake.


Cake scripts, but in a Console app

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 183,380 11/18/2023
3.2.0 18,191 11/10/2023
3.1.0 98,874 7/9/2023
3.0.0 431,376 11/8/2022
2.3.0 39,266 10/14/2022
2.2.0 189,343 4/14/2022
2.1.0 58,945 2/20/2022
2.0.0 119,086 11/30/2021
2.0.0-rc0002 1,346 11/27/2021
2.0.0-rc0001 1,301 11/7/2021
1.3.0 67,831 10/7/2021
1.2.0 13,673 8/29/2021
1.1.0 76,488 3/6/2021
1.0.0 48,716 2/7/2021
1.0.0-rc0003 619 1/29/2021
1.0.0-rc0002 2,591 12/20/2020

4046 Add typed data context CakeTaskBuilder.Finally overload.
4000 Remove obsolete CakeEngine Setup/Teardown events.
3997 Remove obsolete Logger property from DotNetTestSettings.
3991 Remove obsolete DotNetCore aliases.
3972 Remove .NET Core 3.1 TFM.
3969 Update Spectre.Console to 0.45.0.
3949 Remove .NET 5 TFM.
3946 Access to ITaskSetupContext in Frosting.
3867 Rename WindowsFact to WindowsFactAttribute to follow best practices.
3722 DotNetCore -> DotNet Rename Missed Objects.
4047 Add typed CakeTaskBuilder / TaskOf() to easier work with typed data context.
4028 Add GitLab CI SetEnvironmentVariable Command.
4019 Add support for TeamCity build status message.
4018 Add Support For TeamCity Statistics.
4011 Add GitHub Actions SetStepSummary Command.
4009 Add GitHub Actions SetOutputParameter Command.
3950 Add .NET 7 Support.
3328 Frosting: Support criteria description.
2863 Add support for GitHub Action workflow commands.
2470 Call multiple tasks from CLI and pass them to RunTarget.
1146 Add OutputDirectory property for Chocolatey Aliases.
4060 Update Microsoft.NETCore.Platforms to 7.0.0.
4059 Update System.Reflection.Metadata to 7.0.0.
4058 Update System.Collections.Immutable to 7.0.0.
4057 Update Microsoft.Extensions.DependencyInjection to 7.0.0.
4055 Add column to summary to include skip reason.
4052 Update Basic.Reference.Assemblies.* to 1.4.1.
4050 Overhaul Chocolatey Cake aliases.
4044 Overload missing for IsDependeeOf accepting a CakeTaskBuilder object.
4038 Add missing MSBuildSettings to DotNetRunSettings.
4036 Add missing MSBuildSettings to DotNetTestSettings.
4032 Add additional settings for ILMerge.
4020 Update Basic.Reference.Assemblies.* to 1.4.0.
4016 Update Microsoft.CodeAnalysis.CSharp.Scripting to
4006 Add missing GitVersion command line options.
3124 EscapedBranchName is not supported by GitVersion.CommandLine.
4023 Update supported versions of Cake.
4034 DotNetMSBuildSettings ArgumentCustomization is not called with all DotNet* aliases.
4030 GitLab CI runner tags are not split correctly.