pkg.soopen package index

brew / 順位 6767

treefmt を Homebrew, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install treefmt

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install treefmt

MacPorts ports tree · devel/treefmt/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#treefmt

nixpkgs package indexes · pkgs/by-name/tr/treefmt/package.nix · ソース: api.github.com

概要

パッケージ概要

One CLI to format the code tree

コマンドとエイリアス

  • treefmt

履歴

プロジェクトの歴史と使われ方

treefmt is a formatter multiplexer: one CLI that runs the right formatters across a source tree from a project-level configuration file.

プロジェクトの歴史

Numtide's README explains treefmt as a response to polyglot repositories, where each language brings its own formatter and teams repeatedly reimplement scripts to run them. treefmt turns that recurring script into one command.

The project emphasizes a unified CLI and output, parallel execution, and tracking changed files so that formatting does not always have to scan and rewrite an entire repository. Its documentation centers the `treefmt.toml` file in the project root as the place where formatter commands, options, and include globs are declared.

By 2026 the GitHub repository had multiple major releases, Go and Nix build metadata, and related tooling such as treefmt-nix, reflecting its adoption in Nix-heavy and polyglot development workflows.

採用の歴史

treefmt's adoption is closely tied to repositories that do not want language-specific formatting scripts in every project. It is packaged by Homebrew, MacPorts, and Nix, and the upstream README explicitly points Nix users at treefmt-nix.

For package users, the attraction is boring consistency: install one binary, commit one `treefmt.toml`, and let CI or pre-commit workflows run all configured formatters the same way.

使われ方

A project usually creates `treefmt.toml` with `treefmt --init`, defines formatter sections with command, options, and include globs, and then runs `treefmt` from the project root.

Package nerds use it to standardize formatting across Nix, Rust, Go, JavaScript, and other mixed-language repos without maintaining a custom shell script per repository.

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

treefmt is significant because it packages repository formatting as a composable CLI rather than a pile of local scripts. That matters to reproducible developer environments, especially where Nix flakes and CI expect declarative tooling.

タイムライン

  • Project docs: treefmt is presented as the formatter multiplexer.
  • 2026: v2.5.0 release adds formatter option support and Go toolchain updates.
  • 2026: The repository records roughly a thousand stars, dozens of releases, and continued maintenance.

Related projects

  • treefmt-nix wraps treefmt for Nix-based configuration and formatter provisioning.
  • Related tools named upstream include EditorConfig, Prettier, Super-Linter, and pre-commit.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
treefmt.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
treefmt実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.5.0
マネージャ更新日2026-07-26
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:treefmt
バージョン2.5.0
パッケージマネージャHomebrew
ホームページhttps://treefmt.com/latest/
リポジトリhttps://github.com/numtide/treefmt
最終更新2026-07-26T00:51:27+02:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

treefmt

nix profile install nixpkgs#treefmt
  • normalized package name match
  • 一致条件: Treefmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/treefmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

treefmt

sudo port install treefmt
  • normalized package name match
  • 一致条件: Treefmt
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/treefmt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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