cmakefmt

cmakefmt 2.3.1

A fast, correct CMake formatter

  • By Puneet Matharu
  • Open Source
  • Updated Oct 26, 2026
Download for Windows

About cmakefmt

cmakefmt is a fast, correct, configurable CMake formatter written in Rust.
It is a native-binary drop-in replacement for cmake-format with full
legacy config conversion support.

What's new in 2.3.1

What's Changed
- chore(deps): bump serde-saphyr from 1.3.0 to 2.0.0 by @dependabot[bot] in #229
- chore(deps): bump astro from 7.4.0 to 7.4.1 in /docs by @dependabot[bot] in #235
Full Changelog: v2.3.0...v2.3.1

Full release notes »

Technical details

PublisherPuneet Matharu
Version2.3.1
Release date2026-10-26
LicenseMIT OR Apache-2.0
Installer typezip
Architecturex64
Package IDcmakefmt.cmakefmt

Install cmakefmt from the command line

Install with Windows Package Manager
winget install --id=cmakefmt.cmakefmt -e
Update to the latest version
winget upgrade --id=cmakefmt.cmakefmt -e
Uninstall
winget uninstall --id=cmakefmt.cmakefmt -e

cmakedeveloper-toolsformatterrust

cmakefmt version history

  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.7.0
  • 1.6.0
  • 1.5.0
  • 1.3.0
  • 0.3.0

Frequently asked questions

Is cmakefmt free?

Yes. cmakefmt is free and open-source software released under the MIT OR Apache-2.0 license.

What is the latest version of cmakefmt?

The latest version is 2.3.1, released on Oct 26, 2026.

Is it safe to download cmakefmt?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 7bfc598feba957560639aae7ccf6d486f371e0e72b01e2dc705c443713dcefc0.

Which Windows versions does cmakefmt support?

cmakefmt runs on Windows and is available for 64-bit (x64) systems.

How do I uninstall cmakefmt?

Open Settings › Apps › Installed apps, find cmakefmt and select Uninstall. From the command line, run winget uninstall --id=cmakefmt.cmakefmt -e.