Get the Software
You can either download binaries or source code archives for the latest stable or previous release or access the current development (aka nightly) distribution through Git. This software may not be exported in violation of any U.S. export laws or regulations. For more information regarding Export Control matters please go to https://www.kitware.com/legal.
Training
CMake training covers how to efficiently write CMake scripts for small to larger projects along with best practices. For more information visit the training page. Our next CMake Training Course is June 13-15. Register Now.
Latest Release (3.26.4)
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. The OS-machine.tar.gz files are gziped tar files of the install tree. The OS-machine.tar.Z files are compressed tar files of the install tree. The tar file distributions can be untared in any directory. They are prefixed by the version of CMake. For example, the linux-x86_64 tar file is all under the directory cmake–linux-x86_64. This prefix can be removed as long as the share, bin, man and doc directories are moved relative to each other. To build the source distributions, unpack them with zip or tar and follow the instructions in README.rst at the top of the source tree. See also the CMake 3.26 Release Notes.
Source distributions:
Platform | Files |
Unix/Linux Source (has \n line feeds) | cmake-3.26.4.tar.gz |
Windows Source (has \r\n line feeds) | cmake-3.26.4.zip |
Binary distributions:
Platform | Files |
Windows x64 Installer: | cmake-3.26.4-windows-x86_64.msi |
Windows x64 ZIP | cmake-3.26.4-windows-x86_64.zip |
Windows i386 Installer: | cmake-3.26.4-windows-i386.msi |
Windows i386 ZIP | cmake-3.26.4-windows-i386.zip |
Windows ARM64 Installer: | cmake-3.26.4-windows-arm64.msi |
Windows ARM64 ZIP | cmake-3.26.4-windows-arm64.zip |
macOS 10.13 or later | cmake-3.26.4-macos-universal.dmg |
cmake-3.26.4-macos-universal.tar.gz | |
macOS 10.10 or later | cmake-3.26.4-macos10.10-universal.dmg |
cmake-3.26.4-macos10.10-universal.tar.gz | |
Linux x86_64 | cmake-3.26.4-linux-x86_64.sh |
cmake-3.26.4-linux-x86_64.tar.gz | |
Linux aarch64 | cmake-3.26.4-linux-aarch64.sh |
cmake-3.26.4-linux-aarch64.tar.gz |
Summary files:
Role | Files |
File Table v1 | cmake-3.26.4-files-v1.json |
Cryptographic Hashes | cmake-3.26.4-SHA-256.txt |
PGP sig by 2D2CEF1034921684 | cmake-3.26.4-SHA-256.txt.asc |
Also see instructions on Download Verification.
Previous Release (3.25.3)
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. The OS-machine.tar.gz files are gziped tar files of the install tree. The OS-machine.tar.Z files are compressed tar files of the install tree. The tar file distributions can be untared in any directory. They are prefixed by the version of CMake. For example, the linux-x86_64 tar file is all under the directory cmake–linux-x86_64. This prefix can be removed as long as the share, bin, man and doc directories are moved relative to each other. To build the source distributions, unpack them with zip or tar and follow the instructions in README.rst at the top of the source tree. See also the CMake 3.25 Release Notes.
Source distributions:
Platform | Files |
Unix/Linux Source (has \n line feeds) | cmake-3.25.3.tar.gz |
Windows Source (has \r\n line feeds) | cmake-3.25.3.zip |
Binary distributions:
Platform | Files |
Windows x64 Installer: | cmake-3.25.3-windows-x86_64.msi |
Windows x64 ZIP | cmake-3.25.3-windows-x86_64.zip |
Windows i386 Installer: | cmake-3.25.3-windows-i386.msi |
Windows i386 ZIP | cmake-3.25.3-windows-i386.zip |
Windows ARM64 Installer: | cmake-3.25.3-windows-arm64.msi |
Windows ARM64 ZIP | cmake-3.25.3-windows-arm64.zip |
macOS 10.13 or later | cmake-3.25.3-macos-universal.dmg |
cmake-3.25.3-macos-universal.tar.gz | |
macOS 10.10 or later | cmake-3.25.3-macos10.10-universal.dmg |
cmake-3.25.3-macos10.10-universal.tar.gz | |
Linux x86_64 | cmake-3.25.3-linux-x86_64.sh |
cmake-3.25.3-linux-x86_64.tar.gz | |
Linux aarch64 | cmake-3.25.3-linux-aarch64.sh |
cmake-3.25.3-linux-aarch64.tar.gz |
Summary files:
Role | Files |
File Table v1 | cmake-3.25.3-files-v1.json |
Cryptographic Hashes | cmake-3.25.3-SHA-256.txt |
PGP sig by 2D2CEF1034921684 | cmake-3.25.3-SHA-256.txt.asc |
Also see instructions on Download Verification.
Alternative Binary Releases
Host | Link |
Kitware’s Ubuntu packages | https://apt.kitware.com/ |
snap | https://snapcraft.io/cmake |
pip | https://pypi.org/project/cmake/ |
Older Releases
Host | Link |
kitware | https://cmake.org/files |
github | https://github.com/Kitware/CMake/releases |
Editor Syntax Files
Editor | Files |
emacs | cmake-mode.el |
vim | vim-cmake-syntax |
Current development distribution
Each night binaries are created as part of the testing process. Other than passing all of the tests in CMake, this version of CMake should not be expected to work in a production environment. It is being produced so that users can test bug fixes done upstream without having to build CMake.
Nightly Binaries | Link |
https | https://cmake.org/files/dev/ |
Alternatively one may build from source. Development is managed on Kitware’s GitLab instance:
On UNIX, one may use the bootstrap script provided in the source tree to build CMake. In order to build the Windows version of CMake, you will need a current binary installation of CMake to bootstrap the build process.