🍺 BREW Explorer

← all formulae

cljfmt

brew install cljfmt v0.16.4 EPL-1.0

Formatting Clojure code

24
30-day installs · #6309
165
90-day · #4527
1.0k
365-day · #3794
1.2k
★ GitHub stars · updated 2mo ago

Build dependencies

GitHub topics

clojure clojurescript code-formatter

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "graalvm",
    "leiningen"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Formatting Clojure code",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:27+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "cljfmt",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-01T13:50:08Z",
  "github_readme_excerpt": "# cljfmt [![Test Status](https://github.com/weavejester/cljfmt/actions/workflows/test.yml/badge.svg)](https://github.com/weavejester/cljfmt/actions/workflows/test.yml) [![Release Status](https://dl.circleci.com/status-badge/img/gh/weavejester/cljfmt.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/weavejester/cljfmt)\n\ncljfmt is a tool for detecting and fixing formatting errors in\n[Clojure][] code.\n\nIts defaults are based on the [Clojure Style Guide][], but it also has\nmany customization options to suit a particular project or team.\n\nIt is not the goal of the project to provide a one-to-one mapping\nbetween a Clojure syntax tree and formatted text; rather the intent is\nto correct formatting errors with minimal changes to the existing\nstructure of the text.\n\nIf you want format completely unstructured Clojure code, the [zprint][]\nproject may be more suitable.\n\n[clojure]: https://clojure.org/\n[clojure style guide]: https://github.com/bbatsov/clojure-style-guide\n[zprint]: https://github.com/kkinnear/zprint\n\n## Breaking Changes in 0.11.x\n\nThe `--indents` and `--alias-map` keys have been removed from the CLI,\nin favor of using a configuration file instead.\n\nThe `:indents` key has been split into `:indents` and `:extra-indents`.\nThe `:indents` key **replaces** all default indents, while the\n`:extra-indents` key will **append** to the default indents.\n\nIf you need to retain backward compatibility with an older version of\ncljfmt, then you can add the `:legacy/merge-indents?` key to your\nconfiguration:\n\n```edn\n{:legacy/merge-indents? true\n :indents {example.core/foo [[:inner 0]]}}\n```\n\nThis will treat `:indents` as if it were `:extra-indents`. i.e. it is\nequivalent to:\n\n```edn\n{:extra-indents {example.core/foo [[:inner 0]]}}\n```\n\n## Usage\n\ncljfmt integrates with many existing build tools, or can be used as a\nlibrary. As an end user, you have the choice of:\n\n### Standalone\n\nThe fastest way to run cljfmt is via a precompiled binary. If you\u0027re using\nLinux or Mac",
  "github_repo": "weavejester/cljfmt",
  "github_stars": 1217,
  "github_topics": [
    "clojure",
    "clojurescript",
    "code-formatter"
  ],
  "homepage": "https://github.com/weavejester/cljfmt",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 24,
  "installs_365d": 1023,
  "installs_90d": 165,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "EPL-1.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "cljfmt",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 6309,
  "rank_365d": 3794,
  "rank_90d": 4527,
  "raw_hash": "c28229b543ee1051",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/cljfmt.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "0.16.4",
  "versioned_formulae": [],
  "why_use_this": null
}