# Installer cljfmt avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cljfmt pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:cljfmt
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cljfmt
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cljfmt
```

  Preuve: nixpkgs package indexes: pkgs/by-name/cl/cljfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:cljfmt
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.16.5
- **Résumé source:** Formatting Clojure code
- **Page d'accueil:** <https://github.com/weavejester/cljfmt>
- **Dépôt:** <https://github.com/weavejester/cljfmt>
- **Dernière mise à jour:** 2026-07-14T11:47:33Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cljfmt (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.16.5
## Historique du projet et usages

cljfmt is a formatter and checker for Clojure code, designed to fix formatting errors with minimal structural changes while following defaults based on the Clojure Style Guide.

### Historique du projet

cljfmt is maintained under James Reeves's weavejester namespace. The project presents itself as both a standalone CLI and a Clojure library for detecting and fixing formatting errors in Clojure source.

The changelog shows a long 0.x evolution from Leiningen-era plugin usage toward modern Clojure tooling. Version 0.10.0 added support for `clj -T` tools and Babashka use, 0.10.2 added prebuilt native binaries, 0.11.0 moved important CLI options into configuration, and 0.16.x continued tightening configuration and indentation behavior.

### Historique d'adoption

cljfmt's adoption follows Clojure's build-tool culture: the README documents standalone binaries, Homebrew installation, Clojure CLI tools, Leiningen plugin usage, library usage, Babashka tasks, and editor integrations. The batch input records packages in Homebrew and Nix.

Editor integrations listed by upstream include Calva, CIDER, clojureVSCode, and vim-cljfmt, indicating that cljfmt became a formatting backend used beyond direct terminal invocation.

### Modes d'utilisation

Users run `cljfmt check` to detect formatting errors and `cljfmt fix` to rewrite files. Projects can configure behavior through `.cljfmt.edn`, `cljfmt.edn`, or a `:cljfmt` key in Leiningen's `project.clj`.

The indentation documentation explains Clojure-specific rules for macros and forms through `:indents` and `:extra-indents`, which is the core reason cljfmt is more than a generic pretty-printer.

### Pourquoi les passionnés de paquets s'y intéressent

cljfmt matters to package nerds because it packages Clojure style policy into a repeatable CLI used in CI, editors, and build tools. The move to prebuilt native binaries also made it friendlier to Homebrew-style formulae, where startup time and dependency weight matter.

For Clojure ecosystems, cljfmt is a representative example of a tool that must straddle Maven coordinates, Git-based Clojure tools, Leiningen plugins, Babashka tasks, standalone binaries, and editor integrations.

### Chronologie

- 2014: GitHub repository created.
- 2023: 0.10.0 adds Clojure CLI tool support and partial Babashka support.
- 2023: 0.10.2 adds prebuilt native binaries for the CLI.
- 2023: 0.11.0 splits indentation configuration and removes old CLI configuration keys.
- 2026: 0.16.0 ignores `.clj` config files by default and adds additional formatting options.
- 2026: 0.16.4 adds user-configuration validation.

### Related projects

- Related projects include zprint, the Clojure Style Guide, Leiningen, the official Clojure CLI tools, Babashka, Calva, CIDER, clojureVSCode, and vim-cljfmt.

### Sources

- <https://github.com/weavejester/cljfmt#readme>
- <https://github.com/weavejester/cljfmt/blob/master/CHANGELOG.md>
- <https://github.com/weavejester/cljfmt/blob/master/docs/INDENTS.md>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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: .cljfmt.edn, cljfmt.edn, project.clj (:cljfmt key)
## Autres enregistrements de gestionnaires de paquets

- Nix - cljfmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/cljfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cljfmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cljfmt.yml)


## Sources

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