# 使用 Homebrew, scoop 安装 cake

查看 cake 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:cake
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cake
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/cake
```

  证据: Scoop official bucket manifest trees: bucket/cake.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:cake
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cake>
- **版本:** 6.2.0
- **来源摘要:** Cross platform build automation system with a C# DSL
- **主页:** <https://cakebuild.net/>
- **仓库:** <https://github.com/cake-build/cake>
- **上游文档:** <https://cakebuild.net/docs>
- **许可证:** MIT
- **源码归档:** <https://github.com/cake-build/cake/archive/refs/tags/v6.2.0.tar.gz>
- **最后更新:** 2026-05-22T17:47:49Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cake (cli)
- cake (别名)

## 依赖

- dotnet

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 6.2.0
- 管理器更新时间: 2026-05-22
- 本地数据: OK
- 上游仓库: https://github.com/cake-build/cake
- 检测到的最新版本: v6.2.0 (当前)
## 项目历史与用法

Cake, short for C# Make, is a cross-platform build automation system that lets .NET projects write build scripts in C# instead of XML, shell, or a separate build DSL. Its package-manager importance comes from being both a CLI tool and a build-script runtime that follows the .NET packaging ecosystem closely.

### 项目历史

The project describes itself as a free and open source build automation system with a C# DSL for compiling code, copying files, running tests, packaging NuGet artifacts, and similar release tasks. The official repository release stream shows early 0.x releases in 2015 and later release notes document the long migration through Mono-era .NET tooling, .NET Core, .NET global tools, Cake Frosting, and Cake.Sdk.

Cake joined the .NET Foundation ecosystem and expanded beyond a single runner into several supported modes: Cake .NET Tool, Cake Frosting, and Cake SDK. Official release notes show recurring updates for new C# language versions, new .NET target frameworks, NuGet client behavior, and CI provider integrations.

### 采用历史

Cake gained adoption among .NET projects that wanted build definitions checked into source control but preferred C# over MSBuild targets, PowerShell, FAKE scripts, or ad hoc shell scripts. Its README and website advertise cross-platform CI usage across Windows, Linux, and macOS, with build server integrations including Azure Pipelines, GitHub Actions, GitLab, TeamCity, Jenkins, AppVeyor, Bitrise, and others.

The official site emphasizes its addins and modules ecosystem, which helped Cake spread through package-manager workflows: users install the tool, add build.cake or Cake SDK project files, then pull in task-specific addins for packaging, signing, test runners, coverage tools, and deployment.

### 使用方式

Package users usually install the `cake` executable and run it in a repository containing a Cake script or Cake SDK/Frosting project. The tool is commonly used in local development and CI to normalize build, test, pack, and release commands across operating systems.

The `cake.config` file is the documented project-level configuration surface for runner settings, while larger builds typically keep most behavior in C# build scripts and addins.

### 为什么软件包爱好者会关心

Cake is notable because it sits at the intersection of package management, build orchestration, and language-native scripting: it made NuGet-delivered build logic feel normal to C# developers before the modern .NET CLI fully standardized many project workflows.

For package nerds, the interesting bit is its long survival through major .NET packaging changes: NuGet.exe, Mono, project.json/DNX/DNU-era tooling, .NET Core, global tools, and modern target frameworks all show up in its release notes.

### 时间线

- 2015: Early 0.x releases published on GitHub, including 0.2.0 in March 2015.
- 2016: Release notes add Cake configuration file support and additional CI integrations.
- 2021: Cake 1.0.0 released after a long 0.x stabilization period.
- 2023: Cake 4.0.0 adds .NET 8-era updates.
- 2024: Cake 5.0.0 adds .NET 9 and C# 13 support.
- 2025: Cake 6.0.0 adds .NET 10 and C# 14 support.
- 2026: Cake 6.2.0 released according to the official site banner and release notes.

### Related projects

- Cake is related to FAKE, Nuke, MSBuild, dotnet CLI, NuGet, Cake Frosting, Cake.Tool, and Cake.Sdk. In package-manager terms it belongs to the family of build tools that are installed as developer CLI dependencies but execute project-specific build code.

### 来源

- <https://api.github.com/repos/cake-build/cake/releases>
- <https://cakebuild.net/>
- <https://github.com/cake-build/cake/blob/develop/README.md>
- <https://github.com/cake-build/cake/blob/develop/ReleaseNotes.md>


## 安全说明

没有找到 cake 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: cake.config
- Windows: cake.config
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cake
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** coffeescript
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Scoop - main/cake: normalized package name match | Scoop official bucket manifest trees: bucket/cake.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/zh-hans/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [dotnet](https://www.automicvault.com/zh-hans/pkg/brew/dotnet/) - Runtime dependency declared by Homebrew.
- [powershell](https://www.automicvault.com/zh-hans/pkg/brew/powershell/) - Local package facts share a topical domain. Shared terms: automation, cross, dotnet, platform.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Local metadata places this package in an adjacent workflow. Shared terms: build, cross, platform, system.
- [go-task](https://www.automicvault.com/zh-hans/pkg/brew/go-task/) - Local metadata places this package in an adjacent workflow. Shared terms: automation, build, cross, platform.

## Combined YAML source

View the package source record on GitHub. [combined/cake.yml](https://github.com/automic-vault/db/blob/main/combined/cake.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
