# 使用 Homebrew, apt, Nix, scoop, zypper 安装 cookiecutter

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

## 安装

```sh
sudo av install brew:cookiecutter
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cookiecutter
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install cookiecutter
```

  证据: Debian stable package indexes: cookiecutter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#cookiecutter
```

  证据: nixpkgs package indexes: cookiecutter from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install cookiecutter-doc
```

  证据: openSUSE Tumbleweed package metadata: cookiecutter-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install extras/cookiecutter
```

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

## 软件包事实

- **软件包键:** brew:cookiecutter
- **软件包管理器:** Homebrew
- **版本:** 2.7.1
- **来源摘要:** Utility that creates projects from templates
- **主页:** <https://github.com/cookiecutter/cookiecutter>
- **仓库:** <https://github.com/cookiecutter/cookiecutter>
- **最后更新:** 2026-05-20T12:26:31Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cookiecutter (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Cookiecutter is a cross-platform project generator for creating source trees from templates. It became one of the standard Python-era answers to repeatable project scaffolding, but its templates can target many languages and markup formats.

### 项目历史

The official repository was created in July 2013. The README credits Audrey M. Roy Greenfeld as creator and development lead, and describes the tool as a command-line utility for creating projects from cookiecutters, or project templates.

### 采用历史

Cookiecutter spread through reusable Git-hosted templates, especially Python package templates such as `cookiecutter-pypackage`. Its package metadata in this batch records broad distribution across Homebrew, Debian, Ubuntu, Nix, Scoop, and openSUSE packaging channels.

### 使用方式

Users invoke Cookiecutter against a local template or a remote repository, answer prompts from `cookiecutter.json`, and receive a rendered project directory. Advanced usage includes hooks, replay data, default context, abbreviations for common hosts, and a per-user `~/.cookiecutterrc` file.

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

Cookiecutter matters to package maintainers because it normalized sharable scaffolds as packages and repositories, making packaging policy, test layout, license files, CI skeletons, and release boilerplate reproducible across many new projects.

### 时间线

- 2013: Official GitHub repository created.
- 2013: Documentation copyright begins with Audrey M. Roy Greenfeld.
- 2013: User configuration support documented as new in Cookiecutter 0.7.
- 2016: Command-line `--config-file` support documented as new in Cookiecutter 1.3.

### Related projects

- Official examples and README links point users to cookiecutter-pypackage, cookiecutter-django, cookiecutter-pytest-plugin, and other community templates.

### 来源

- <https://github.com/cookiecutter/cookiecutter>
- <https://raw.githubusercontent.com/cookiecutter/cookiecutter/main/README.md>
- <https://cookiecutter.readthedocs.io/en/stable/advanced/user_config.html>
- <https://api.github.com/repos/cookiecutter/cookiecutter>


## 安全说明

没有找到 cookiecutter 的匹配本地密钥处理 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: ~/.cookiecutterrc
## 其他软件包管理器记录

- Debian apt - cookiecutter - 2.6.0-2: normalized package name match | Debian stable package indexes: cookiecutter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | create projects from project templates | https://github.com/cookiecutter/cookiecutter
- Debian apt - python-cookiecutter-doc - 2.6.0-2: normalized package name match | Debian stable package indexes: python-cookiecutter-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | create projects from project templates (documentation) | https://github.com/cookiecutter/cookiecutter
- Debian apt - python3-cookiecutter - 2.6.0-2: normalized package name match | Debian stable package indexes: python3-cookiecutter from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | create projects from project templates (Python 3 module) | https://github.com/cookiecutter/cookiecutter
- Nix - cookiecutter: normalized package name match | nixpkgs package indexes: cookiecutter from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - cookiecutter - 2.6.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cookiecutter from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | create projects from project templates | https://github.com/cookiecutter/cookiecutter
- Ubuntu apt - python-cookiecutter-doc - 2.6.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python-cookiecutter-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | create projects from project templates (documentation) | https://github.com/cookiecutter/cookiecutter
- Ubuntu apt - python3-cookiecutter - 2.6.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-cookiecutter from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | create projects from project templates (Python 3 module) | https://github.com/cookiecutter/cookiecutter
- zypper - cookiecutter-doc - 2.6.0-4.4: normalized package name match | openSUSE Tumbleweed package metadata: cookiecutter-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation files for cookiecutter | https://github.com/audreyr/cookiecutter
- zypper - python313-cookiecutter - 2.6.0-4.4: normalized package name match | openSUSE Tumbleweed package metadata: python313-cookiecutter from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A command-line utility that creates projects from project templates | https://github.com/audreyr/cookiecutter
- zypper - python314-cookiecutter - 2.6.0-4.4: normalized package name match | openSUSE Tumbleweed package metadata: python314-cookiecutter from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A command-line utility that creates projects from project templates | https://github.com/audreyr/cookiecutter
- Scoop - extras/cookiecutter: normalized package name match | Scoop official bucket manifest trees: bucket/cookiecutter.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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