# cbfmt を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:cbfmt
```

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

### macOS

- Homebrew (100%):

```sh
brew install cbfmt
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cbfmt
```

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

## パッケージ情報

- **パッケージキー:** brew:cbfmt
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cbfmt>
- **バージョン:** 0.2.0
- **ソース概要:** Format codeblocks inside markdown and org documents
- **ホームページ:** <https://github.com/lukas-reineke/cbfmt>
- **リポジトリ:** <https://github.com/lukas-reineke/cbfmt>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/lukas-reineke/cbfmt/archive/refs/tags/v0.2.0.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- rust

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.2.0
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/lukas-reineke/cbfmt
- 検出された最新: v0.2.0 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

cbfmt is a Rust command-line formatter driver for code blocks inside Markdown, Org, and reStructuredText documents.

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

The official repository was created in July 2022. Its README defines cbfmt as a tool that iterates over document code blocks and runs configured formatting commands for each block language.

### 採用の歴史

The supplied package metadata shows cbfmt available through Homebrew and Nix. GitHub Releases published the v0.2.0 release on August 31, 2022.

### 使われ方

A `.cbfmt.toml` file maps code block languages to formatter commands that read stdin and write stdout. Users can check or rewrite files, process directories recursively, or read a document from stdin.

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

cbfmt is package-nerd-relevant because it composes existing language formatters instead of replacing them, giving documentation projects a small CLI for keeping embedded examples formatted.

### タイムライン

- 2022: The official GitHub repository was created.
- 2022: v0.1.x and v0.2.0 releases were published.
- 2023: The official repository metadata records later maintenance activity.

### Related projects

- rustfmt, gofmt, stylua, and black are example formatter commands shown in the official configuration example.
- Markdown, Org, and reStructuredText are the document formats named by the official README.

### ソース

- <https://api.github.com/repos/lukas-reineke/cbfmt>
- <https://api.github.com/repos/lukas-reineke/cbfmt/releases>
- <https://github.com/lukas-reineke/cbfmt#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


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

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

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

- Nix - cbfmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/cb/cbfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [oxfmt](https://pkg.so/ja/brew/oxfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters, rust.
- [air](https://pkg.so/ja/brew/air/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters, rust.
- [mdformat](https://pkg.so/ja/brew/mdformat/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters, markdown.
- [sleek](https://pkg.so/ja/brew/sleek/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters, rust.
- [shfmt](https://pkg.so/ja/brew/shfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [rumdl](https://pkg.so/ja/brew/rumdl/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, markdown, rust.
- [buildifier](https://pkg.so/ja/brew/buildifier/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, formatters.
- [dprint](https://pkg.so/ja/brew/dprint/) - Shares pkgdb curated category or tags: cli, developer-tools, formatters, rust.
- [dockerfmt](https://pkg.so/ja/brew/dockerfmt/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, format.

## Combined YAML source

View the package source record on GitHub. [combined/cbfmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cbfmt.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
