Credential access
Reads environment variables, toolchain files, and project config.
brew / approval gates
Cross-platform make. Version 4.3.4 via Homebrew; verified 2026-06-19.
agent safety
cmake configures native builds and can run project-defined build commands.
Reads environment variables, toolchain files, and project config.
Usually local, but custom commands can call external services.
Can produce native release artifacts and installer packages.
Gate install/package targets and custom commands that use secrets.
Allow configure/build in scanned worktrees; require approval for install, package, and secret-backed custom targets.
install
brew install cmakelocal Homebrew formula metadata
sudo port install cmakeMacPorts ports tree · devel/cmake/Portfile · source: api.github.com
sudo apk add ccmakeAlpine Linux edge package indexes · ccmake · source: dl-cdn.alpinelinux.org
sudo apt install cmakeDebian stable package indexes · cmake · source: deb.debian.org
sudo dnf install cmakeFedora Rawhide package metadata · cmake · source: dl.fedoraproject.org
nix profile install nixpkgs#cmakenixpkgs package indexes · pkgs/by-name/cm/cmake/package.nix · source: api.github.com
sudo pacman -S cmakeArch Linux sync databases · cmake · source: geo.mirror.pkgbuild.com
sudo zypper install cmakeopenSUSE Tumbleweed package metadata · cmake · source: download.opensuse.org
choco install cmakeChocolatey community package catalog · cmake · source: community.chocolatey.org
scoop install main/cmakeScoop official bucket manifest trees · bucket/cmake.json · source: api.github.com
winget install --id Kitware.CMake -eWindows Package Manager source index · Kitware.CMake · source: cdn.winget.microsoft.com
overview
Cross-platform make
history
CMake is Kitware's cross-platform build, test, and package tooling family. It began as infrastructure for large portable C++ scientific software and became the de facto build-system interface for much of the C and C++ open source ecosystem.
The official CMake history says CMake was created in 2000 for the National Library of Medicine's Insight Toolkit, after Bill Hoffman concluded that a new portable C++ build tool was needed. The early design goals were native build-tool support, one input file across platforms, bootstrap portability with only a C++ compiler, and code-generator support.
CMake moved from ITK into VTK and ParaView in 2002, then into major open source projects over time. The official timeline highlights KDE switching in 2006, LLVM removing autoconf in favor of CMake in 2016, Visual Studio adding integrated CMake project support in 2017, and Qt switching to CMake in 2019. The CMake about page claims more than two million downloads per month, and the batch input lists packages across Homebrew, Debian, Fedora, Arch, Nix, MacPorts, Windows package managers, and more.
The cmake executable generates project buildsystems, builds and installs projects, runs scripts, runs command-line helper actions, and exposes help. CMake projects begin from CMakeLists.txt files; modern workflows may also use CMakePresets.json and CMakeUserPresets.json, while generated build trees contain CMakeCache.txt.
CMake is package-nerd infrastructure: it is the build-system front door for thousands of upstream projects and distro recipes. Its generator model lets package maintainers target Make, Ninja, IDE projects, and platform-native tooling from the same upstream metadata, while CTest and CPack standardize test and packaging hooks.
approval gates
The local approval-gate seed includes 6 rules for cmake. Covered entrypoints: cmake, cpack, ctest. Severity labels: high, medium. Coverage: partial, reviewed 2026-05-21.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
CMakePresets.jsonCMakeUserPresets.json<build-tree>/CMakeCache.txtexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ccmake | cli | global executable | |
cmake | cli | global executable | |
cpack | cli | global executable | |
ctest | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Kitware/CMake
install metadata
| Package key | brew:cmake |
|---|---|
| Version | 4.3.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cmake |
| Homepage | https://www.cmake.org/ |
| Repository | https://github.com/Kitware/CMake |
| Upstream docs | https://cmake.org/cmake/help/latest |
| License | BSD-3-Clause |
| Source archive | https://github.com/Kitware/CMake/releases/download/v4.3.4/cmake-4.3.4.tar.gz |
| Last updated | 2026-06-19T11:55:27Z |
| Pulse | updated |
| Uses from macOS | ncurses |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | To install the CMake documentation, run: brew install cmake-docs |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cmake |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cmake 3.31.6-2
cross-platform, open-source make system
sudo apt install cmakecmake-curses-gui 3.31.6-2
curses based user interface for CMake (ccmake)
sudo apt install cmake-curses-guicmake-data 3.31.6-2
CMake data files (modules, templates and documentation)
sudo apt install cmake-datacmake-doc 3.31.6-2
extended documentation in various formats for CMake
sudo apt install cmake-doccmake-qt-gui 3.31.6-2
Qt based user interface for CMake (cmake-gui)
sudo apt install cmake-qt-guicmake
nix profile install nixpkgs#cmakecmake 3.28.3-1build7
cross-platform, open-source make system
sudo apt install cmakecmake-curses-gui 3.28.3-1build7
curses based user interface for CMake (ccmake)
sudo apt install cmake-curses-guicmake-data 3.28.3-1build7
CMake data files (modules, templates and documentation)
sudo apt install cmake-datacmake-doc 3.28.3-1build7
extended documentation in various formats for CMake
sudo apt install cmake-doccmake-qt-gui 3.28.3-1build7
Qt based user interface for CMake (cmake-gui)
sudo apt install cmake-qt-guiccmake 4.2.3-r0
Cross-platform, open-source make system (ccmake configurator)
sudo apk add ccmakecmake 4.2.3-r0
Cross-platform, open-source make system
sudo apk add cmakecmake-bash-completion 4.2.3-r0
Bash completions for cmake
sudo apk add cmake-bash-completioncmake-doc 4.2.3-r0
Cross-platform, open-source make system (documentation)
sudo apk add cmake-doccmake-emacs 4.2.3-r0
Cross-platform, open-source make system (emacs mode)
sudo apk add cmake-emacssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.