macOS
brew install cljfmtlocal Homebrew formula metadata
安装
brew install cljfmtlocal Homebrew formula metadata
nix profile install nixpkgs#cljfmtnixpkgs package indexes · pkgs/by-name/cl/cljfmt/package.nix · 来源: api.github.com
概览
Formatting Clojure code
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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)可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cljfmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/weavejester/cljfmt
安装元数据
| 软件包键 | brew:cljfmt |
|---|---|
| 版本 | 0.16.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cljfmt |
| 主页 | https://github.com/weavejester/cljfmt |
| 仓库 | https://github.com/weavejester/cljfmt |
| 上游文档 | https://github.com/weavejester/cljfmt#readme |
| 许可证 | EPL-1.0 |
| 源码归档 | https://github.com/weavejester/cljfmt/archive/refs/tags/0.16.5.tar.gz |
| 最后更新 | 2026-07-14T11:47:33Z |
| Pulse | updated |
| 构建依赖 | graalvm, leiningen |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cljfmt
nix profile install nixpkgs#cljfmt来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.