# 使用 Homebrew, MacPorts 安装 cookcli

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

## 安装

```sh
sudo av install brew:cookcli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cookcli
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cook
```

  证据: MacPorts ports tree: devel/cook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:cookcli
- **软件包管理器:** Homebrew
- **版本:** 0.32.1
- **来源摘要:** CLI-tool for cooking recipes formated using Cooklang
- **主页:** <https://cooklang.org>
- **仓库:** <https://github.com/cooklang/cookcli>
- **最后更新:** 2026-06-26T21:26:48Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cook (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.32.1
## 项目历史与用法

CookCLI is the command-line companion to Cooklang, a plain-text recipe markup ecosystem. It packages recipe rendering, shopping-list generation, search, import, validation, reporting, pantry features, and a local web server behind the `cook` executable.

### 项目历史

The official repository was created in January 2021, and the first GitHub release, a demo release tagged 0.0.1, was published in July 2021. The project remained aligned with Cooklang's plain-text recipe model rather than becoming a hosted recipe service.

### 采用历史

CookCLI's package-manager footprint is modest but useful for Unix-style users: the Homebrew formula installs `cookcli`, while the input package facts also record a MacPorts package named `cook`. Official documentation presents Homebrew and GitHub Releases as installation paths.

### 使用方式

Typical usage is local and file-oriented: users seed example recipes, render `.cook` files, combine recipes into shopping lists, run `cook server` for a local browser UI, and point commands at a recipe directory with `--base-path`.

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

The package is notable as a small domain-specific CLI for people who treat recipes as versionable data. Its appeal is less about scale and more about fitting cooking workflows into the familiar Unix pattern of plain files, composable commands, offline use, and package-manager installation.

### 时间线

- 2021: Official GitHub repository created.
- 2021: First public GitHub release, 0.0.1, published as a demo release.
- 2026: Official docs describe CookCLI as a tool for recipe management, shopping lists, automation, and a local web UI.

### Related projects

- CookCLI is part of the Cooklang ecosystem, alongside the Cooklang specification, recipe examples, editors, mobile apps, and the broader `cooklang` GitHub organization.

### 来源

- <https://cooklang.org/docs/getting-started-commands>
- <https://github.com/cooklang/cookcli>
- <https://github.com/cooklang/cookcli/releases>
- <https://api.github.com/repos/cooklang/cookcli>


## 安全说明

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


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

- MacPorts - cook: installed executable or alias match | MacPorts ports tree: devel/cook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cookcli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cookcli.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
