# cruft を Homebrew, apt, Nix, scoop でインストール

cruft のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cruft
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cruft
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install cruft
```

  証拠: Debian stable package indexes: cruft from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#cruft
```

  証拠: nixpkgs package indexes: pkgs/by-name/cr/cruft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/cruft
```

  証拠: Scoop official bucket manifest trees: bucket/cruft.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:cruft
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.16.0
- **ソース概要:** Utility that creates projects from templates and maintains the cruft afterwards
- **ホームページ:** <https://cruft.github.io/cruft/>
- **リポジトリ:** <https://github.com/cruft/cruft>
- **最終更新:** 2026-07-25T09:53:44Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cruft (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.16.0
## プロジェクトの歴史と使われ方

cruft is a Python command-line tool for creating projects from Cookiecutter templates and keeping the generated boilerplate synchronized with later template changes. It addresses a common packaging problem: generated project skeletons drift after the first copy.

### プロジェクトの歴史

The project was created to balance the convenience of project generators with the maintenance burden they create. Its documentation explains that cruft uses Cookiecutter as the template expansion engine, then records template metadata in `.cruft.json` so a project can later be checked, diffed, linked, or updated.

The Git tag history starts at 2.0.0 in 2020 and reaches 2.16.0 in 2024. The repository and documentation remain centered on Python packaging workflows, with badges for PyPI, conda-forge, tests, and downloads.

### 採用の歴史

cruft's adoption is strongest among teams that maintain many repositories from the same Cookiecutter template. Its documentation includes a GitHub Actions workflow that checks for template updates and opens pull requests, indicating the tool's role in repository-fleet maintenance rather than one-off project creation.

### 使われ方

Common commands include `cruft create` for generating a project, `cruft update` for pulling template changes, `cruft check` for CI drift detection, `cruft link` for attaching an existing Cookiecutter-generated project to its template, and `cruft diff` for inspecting changes.

cruft stores template URL, commit, answers, and skip settings in `.cruft.json`; it can also read skip configuration from `tool.cruft` in `pyproject.toml`.

### パッケージ好きにとっての重要性

cruft matters to package maintainers because it treats boilerplate as an updatable dependency. That makes template updates closer to dependency upgrades: visible in diffs, enforceable in CI, and distributable through Python package managers and Homebrew.

### タイムライン

- 2020: 2.0.0 public tag
- 2023: 2.15.0 release
- 2024: 2.16.0 release

### Related projects

- cruft is built around Cookiecutter compatibility and commonly appears with Python packaging, PyPI, conda-forge, Poetry, pipenv, and GitHub Actions workflows.

### ソース

- <https://github.com/cruft/cruft#readme>
- <https://cruft.github.io/cruft>
- <https://github.com/cruft/cruft/tags>
- <https://github.com/cruft/cruft/releases>
- <https://formulae.brew.sh/formula/cruft>


## セキュリティノート

cruft に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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: .cruft.json, pyproject.toml
## 他のパッケージマネージャ記録

- Debian apt - cruft - 0.9.71: normalized package name match | Debian stable package indexes: cruft from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package | https://salsa.debian.org/pkg-security-team/cruft-ng
- Nix - cruft: normalized package name match | nixpkgs package indexes: pkgs/by-name/cr/cruft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cruft - 0.9.61build1: normalized package name match | Ubuntu 24.04 LTS package indexes: cruft from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional package | https://github.com/a-detiste/cruft-ng/
- Scoop - extras/cruft: normalized package name match | Scoop official bucket manifest trees: bucket/cruft.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/cruft.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cruft.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
