ktfmt
« Back to VersTracker
Description:
Kotlin code formatter
Type: Formula  |  Latest Version: 0.59@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: kotlin formatter code-quality developer-tools automation
Install: brew install ktfmt
About:
ktfmt is a Kotlin code formatter that automatically reformats source code to comply with a consistent style guide. It is designed to be opinionated and deterministic, eliminating debates over formatting by providing a single, standard style. Its main value proposition is seamless integration into development workflows, enabling teams to maintain clean and uniform codebases effortlessly.
Key Features:
  • Opinionated formatting with a single standard style
  • Deterministic output ensuring consistent results
  • Integration with build tools and IDEs
  • Support for Kotlin language features and idioms
  • Command-line interface for automation
Use Cases:
  • Enforcing code style consistency across Kotlin projects
  • Automating formatting in CI/CD pipelines
  • Improving code readability and maintainability in team environments
Alternatives:
  • ktlint – ktlint is a linter with formatting rules, while ktfmt is a dedicated formatter with a more opinionated, single-style approach
Version History
Detected Version Rev Change Commit
Dec 17, 2025 11:09pm 0.59 0 VERSION_BUMP 7fcbbd63
Oct 30, 2024 9:40pm 0 VERSION_BUMP a5cf0d26
Sep 14, 2024 12:09pm 0 VERSION_BUMP dc0c3ab8