Automic VaultAutomic Vault

brew

使用 Homebrew, apt, Nix, scoop 安装 cruft

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cruft

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install cruft

Debian stable package indexes · cruft · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#cruft

nixpkgs package indexes · pkgs/by-name/cr/cruft/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install extras/cruft

Scoop official bucket manifest trees · bucket/cruft.json · 来源: api.github.com

概览

软件包摘要

Utility that creates projects from templates and maintains the cruft afterwards

命令和别名

  • cruft

历史

项目历史与用法

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.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
.cruft.jsonpyproject.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cruftcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.16.0
管理器更新时间2026-07-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://cruft.github.io/cruft/

安装元数据

软件包元数据

软件包键brew:cruft
版本2.16.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cruft
主页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-07-22T10:44:23Z
Pulseupdated
依赖certifi, libyaml, python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecruft
Version Scheme0
Revision11
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

cruft 0.9.71

transitional package

https://salsa.debian.org/pkg-security-team/cruft-ng

sudo apt install cruft
  • Section: admin
  • Architecture: all
  • Source Package: cruft-ng
  • 1 依赖
  • normalized package name match
  • 匹配方式:Cruft
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cruft from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cruft

nix profile install nixpkgs#cruft
  • normalized package name match
  • 匹配方式:Cruft
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cr/cruft/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cruft 0.9.61build1

transitional package

https://github.com/a-detiste/cruft-ng/

sudo apt install cruft
  • Section: universe/admin
  • Architecture: all
  • Source Package: cruft-ng
  • 1 依赖
  • normalized package name match
  • 匹配方式:Cruft
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cruft from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Scoop95%

extras/cruft

scoop install extras/cruft
  • normalized package name match
  • 匹配方式:Cruft
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/cruft.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment