macOS
brew install cljfmtlocal Homebrew formula metadata
brew
Formatting Clojure code. Version 0.16.4 via Homebrew; verified 2026-04-13.
install
brew install cljfmtlocal Homebrew formula metadata
nix profile install nixpkgs#cljfmtnixpkgs package indexes · pkgs/by-name/cl/cljfmt/package.nix · source: api.github.com
overview
Formatting Clojure code
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to 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.
.cljfmt.edncljfmt.ednproject.clj (:cljfmt key)executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cljfmt | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/weavejester/cljfmt
install metadata
| Package key | brew:cljfmt |
|---|---|
| Version | 0.16.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cljfmt |
| Homepage | https://github.com/weavejester/cljfmt |
| Repository | https://github.com/weavejester/cljfmt |
| Upstream docs | https://github.com/weavejester/cljfmt#readme |
| License | EPL-1.0 |
| Source archive | https://github.com/weavejester/cljfmt/archive/refs/tags/0.16.4.tar.gz |
| Last updated | 2026-04-13T18:27:03Z |
| Pulse | updated |
| Build dependencies | graalvm, leiningen |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cljfmt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cljfmt
nix profile install nixpkgs#cljfmtsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.