Compare software

treefmt vs pre-commit: catalog facts
treefmtpre-commit
Free

Free and open source under the MIT license.

Free

Free and open source.

Command line Windows, macOS, Linux, Command line
  • Runs multiple configured formatters with one command
  • Can run formatters in parallel
  • Installs hook environments for many languages automatically
  • Hooks shared across projects through a single config file
  • Requires the formatters to be configured for the project
  • Requires Python to run
  • First run can be slow while hook environments are installed
Downloadable app Downloadable app
Open source Open source
License: MIT License: MIT
Not stated if an account is needed No account needed
Not stated if it works offline Not stated if it works offline

Checked October 8, 2026

Checked September 23, 2026

Catalog facts only. Anything “not stated” is unconfirmed. Check full listings for details.