Automic VaultAutomic Vault

brew

cljfmt を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install cljfmt

local Homebrew formula metadata

Linux

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

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

概要

パッケージ概要

Formatting Clojure code

コマンドとエイリアス

  • cljfmt

履歴

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

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

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

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 5 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

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

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
.cljfmt.edncljfmt.ednproject.clj (:cljfmt key)

実行可能ファイル

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

コマンド種類公開範囲メモ
cljfmtcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版0.16.5
マネージャ更新日2026-07-14
ローカルデータOK
上流最新
検出された最新0.16.5

https://github.com/weavejester/cljfmt

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
ビルド依存関係graalvm, leiningen
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecljfmt
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

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

Nix95%

cljfmt

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

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment