macOS
brew install treefmtlocal Homebrew formula metadata
sudo port install treefmtMacPorts ports tree · devel/treefmt/Portfile · Source: api.github.com
brew / rang 6767
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de treefmt pour les workflows d'agents IA.
installation
brew install treefmtlocal Homebrew formula metadata
sudo port install treefmtMacPorts ports tree · devel/treefmt/Portfile · Source: api.github.com
nix profile install nixpkgs#treefmtnixpkgs package indexes · pkgs/by-name/tr/treefmt/package.nix · Source: api.github.com
aperçu
One CLI to format the code tree
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
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.
Config paths the tool may read or write during local use.
treefmt.tomlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
treefmt | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:treefmt |
|---|---|
| Version | 2.5.0 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://treefmt.com/latest/ |
| Dépôt | https://github.com/numtide/treefmt |
| Dernière mise à jour | 2026-07-26T00:51:27+02:00 |
| Pulse | updated |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
treefmt
nix profile install nixpkgs#treefmttreefmt
sudo port install treefmtpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.