# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cruft>
- **バージョン:** 2.16.0
- **ソース概要:** Utility that creates projects from templates and maintains the cruft afterwards
- **ホームページ:** <https://cruft.github.io/cruft/>
- **リポジトリ:** <https://github.com/cruft/cruft>
- **上流ドキュメント:** <https://cruft.github.io/cruft/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/d1/7e/0e20012f2aa156e5d6a70483a8d90accb7ed4966dddb0c58987d9f6eba12/cruft-2.16.0.tar.gz>
- **最終更新:** 2026-08-04T10:44:09Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cruft (cli)
- cruft (エイリアス)

## 依存関係

- certifi
- libyaml
- python@3.14

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.16.0
- マネージャ更新日: 2026-08-04
- ローカルデータ: OK
- 上流リポジトリ: https://cruft.github.io/cruft/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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 を使えるよう、パッケージメタデータはここに公開されています。



## 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
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cruft
- **Version Scheme:** 0
- **Revision:** 12
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cookiecutter](https://pkg.so/ja/brew/cookiecutter/) - Shares pkgdb curated category or tags: cli, developer-tools, project-scaffolding, python, templates.
- [copier](https://pkg.so/ja/brew/copier/) - Shares pkgdb curated category or tags: cli, developer-tools, project-scaffolding, templates.
- [kickstart](https://pkg.so/ja/brew/kickstart/) - Shares pkgdb curated category or tags: cli, developer-tools, project-scaffolding, templates.
- [go-blueprint](https://pkg.so/ja/brew/go-blueprint/) - Shares pkgdb curated category or tags: cli, developer-tools, project-scaffolding, templates.
- [uv](https://pkg.so/ja/brew/uv/) - Shares pkgdb curated category or tags: cli, developer-tools, python.
- [pipx](https://pkg.so/ja/brew/pipx/) - Shares pkgdb curated category or tags: cli, developer-tools, python.
- [cffi](https://pkg.so/ja/brew/cffi/) - Shares pkgdb curated category or tags: cli, developer-tools, python.
- [ruff](https://pkg.so/ja/brew/ruff/) - Shares pkgdb curated category or tags: cli, developer-tools, python.
- [posting](https://pkg.so/ja/brew/posting/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, developer, developer-tools, libyaml.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
