Cake.Tool 3.1.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET 6.0
dotnet tool install --global Cake.Tool --version 3.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Cake.Tool --version 3.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Cake.Tool&version=3.1.0
nuke :add-package Cake.Tool --version 3.1.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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
3.1.0 1,399,230 7/9/2023
3.0.0 5,276,223 11/8/2022
2.3.0 4,899,507 10/14/2022
2.2.0 7,454,271 4/14/2022
2.1.0 8,575,053 2/20/2022
2.0.0 5,664,454 11/30/2021
2.0.0-rc0002 11,097 11/27/2021
2.0.0-rc0001 24,538 11/7/2021
1.3.0 4,891,514 10/7/2021
1.2.0 3,805,733 8/29/2021
1.1.0 3,936,508 3/6/2021
1.0.0 2,665,639 2/7/2021
1.0.0-rc0003 25,778 1/29/2021
1.0.0-rc0002 118,014 12/20/2020
1.0.0-rc0001 102,633 11/5/2020
0.38.5 2,239,986 9/20/2020
0.38.4 1,362,447 6/26/2020
0.38.3 258,688 6/26/2020
0.38.2 118,032 6/9/2020
0.38.1 92,756 5/30/2020
0.38.0 12,956 5/30/2020
0.37.0 1,380,705 2/1/2020
0.36.0 772,915 1/11/2020
0.35.0 1,074,297 9/28/2019
0.34.1 855,930 7/17/2019
0.34.0 74,916 7/16/2019
0.33.0 691,310 4/1/2019
0.32.1 517,703 1/4/2019
0.32.0 73,017 1/4/2019
0.31.0 406,809 12/13/2018
0.30.0 122,241 8/22/2018

4122 Call multiple tasks from CLI in Frosting.
4092 Add support for getting the user's home directory in the Cake Environment.
4184 Update Autofac to 7.0.1.
4183 Update System.Reflection.Metadata to 7.0.2.
4182 Update Basic.Reference.Assemblies.Net60/Net70 to 1.4.2.
4181 Update Microsoft.CodeAnalysis.CSharp.Scripting to 4.6.0.
4170 Update NuGet.* to v6.6.1.
4138 Upgrade Spectre.Console to v0.46.0.
4109 Add PublishReadyToRun to DotNetRestoreSettings.
4107 DotNetPublishSettings is missing a way to set the --os option.
4090 Update Microsoft.CodeAnalysis.CSharp.Scripting to v4.4.0.
4087 Update Newtonsoft.Json to v13.0.2.
4086 Update Autofac to v6.5.0.
4085 Update NuGet.* to v6.4.0.
1317 CleanDirectory does not clean readonly files.
4095 Fix broken link to Cake Team on
4128 Inconsistent determination of positional Argument when using context.Arguments versus context.Argument.