Automic VaultAutomic Vault

brew / approval gates

Install cmake with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Cross-platform make. Version 4.3.4 via Homebrew; verified 2026-06-19.

agent safety

Agent safety answer

cmake configures native builds and can run project-defined build commands.

Credential access

Reads environment variables, toolchain files, and project config.

Remote mutation

Usually local, but custom commands can call external services.

Publish/artifact risk

Can produce native release artifacts and installer packages.

Recommended control

Gate install/package targets and custom commands that use secrets.

Agent-use guidance

Allow configure/build in scanned worktrees; require approval for install, package, and secret-backed custom targets.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cmake

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install cmake

MacPorts ports tree · devel/cmake/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add ccmake

Alpine Linux edge package indexes · ccmake · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install cmake

Debian stable package indexes · cmake · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install cmake

Fedora Rawhide package metadata · cmake · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#cmake

nixpkgs package indexes · pkgs/by-name/cm/cmake/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S cmake

Arch Linux sync databases · cmake · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install cmake

openSUSE Tumbleweed package metadata · cmake · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install cmake

Chocolatey community package catalog · cmake · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/cmake

Scoop official bucket manifest trees · bucket/cmake.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Kitware.CMake -e

Windows Package Manager source index · Kitware.CMake · source: cdn.winget.microsoft.com

overview

Package summary

Cross-platform make

Commands and aliases

  • ccmake
  • cmake
  • cpack
  • ctest

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2000: CMake is created for the National Library of Medicine's Insight Toolkit project.
  • 2002: VTK and ParaView replace their build systems with CMake.
  • 2006: KDE switches to CMake, helping drive Linux distribution availability.
  • 2011: Ninja generator is added to CMake.
  • 2016: LLVM switches to CMake and removes autoconf.
  • 2017: Microsoft Visual Studio introduces integrated support for CMake projects.
  • 2019: The Qt Group switches to CMake.
  • 2020: CMake Presets are incorporated into Visual Studio and Ninja Multi-Config is added.
  • 2022: CMake is publicly described as the standard build system in a C++Now talk cited by the official timeline.

Related projects

  • The official timeline ties CMake to ITK, VTK, ParaView, KDE, LLVM, Visual Studio, Qt, Ninja, CTest, CPack, and C++20 modules work. It is also the build dependency for projects such as cmark.

approval gates

Human review metadata for risky commands

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.

Example gated actions

  • Execute a CMake script with -P.
  • Invoke the configured native build tool.
  • Install build outputs to a destination prefix.
  • Remove paths through CMake command mode.
  • Execute project tests.
  • Generate release packages or installers.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
CMakePresets.jsonCMakeUserPresets.json<build-tree>/CMakeCache.txt

executables

Installed executables

CommandKindExposureNote
ccmakecliglobal executable
cmakecliglobal executable
cpackcliglobal executable
ctestcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version4.3.4
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/Kitware/CMake

install metadata

Package metadata

Package keybrew:cmake
Version4.3.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cmake
Homepagehttps://www.cmake.org/
Repositoryhttps://github.com/Kitware/CMake
Upstream docshttps://cmake.org/cmake/help/latest
LicenseBSD-3-Clause
Source archivehttps://github.com/Kitware/CMake/releases/download/v4.3.4/cmake-4.3.4.tar.gz
Last updated2026-06-19T11:55:27Z
Pulseupdated
Uses from macOSncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsTo install the CMake documentation, run: brew install cmake-docs

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecmake
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

cmake 3.31.6-2

cross-platform, open-source make system

https://cmake.org/

sudo apt install cmake
  • Section: devel
  • Architecture: amd64
  • 12 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-curses-gui 3.31.6-2

curses based user interface for CMake (ccmake)

https://cmake.org/

sudo apt install cmake-curses-gui
  • Section: devel
  • Architecture: amd64
  • Source Package: cmake
  • 12 dependencies
  • normalized package name match
  • Matched by: Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-curses-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-data 3.31.6-2

CMake data files (modules, templates and documentation)

https://cmake.org/

sudo apt install cmake-data
  • Section: devel
  • Architecture: all
  • Source Package: cmake
  • normalized package name match
  • Matched by: Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-doc 3.31.6-2

extended documentation in various formats for CMake

https://cmake.org/

sudo apt install cmake-doc
  • Section: doc
  • Architecture: all
  • Source Package: cmake
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cmake-qt-gui 3.31.6-2

Qt based user interface for CMake (cmake-gui)

https://cmake.org/

sudo apt install cmake-qt-gui
  • Section: devel
  • Architecture: amd64
  • Source Package: cmake
  • 13 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cmake-qt-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cmake

nix profile install nixpkgs#cmake
  • normalized package name match
  • Matched by: Cmake
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cm/cmake/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cmake 3.28.3-1build7

cross-platform, open-source make system

https://cmake.org/

sudo apt install cmake
  • Section: devel
  • Architecture: amd64
  • 12 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-curses-gui 3.28.3-1build7

curses based user interface for CMake (ccmake)

https://cmake.org/

sudo apt install cmake-curses-gui
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: cmake
  • 12 dependencies
  • normalized package name match
  • Matched by: Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-curses-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-data 3.28.3-1build7

CMake data files (modules, templates and documentation)

https://cmake.org/

sudo apt install cmake-data
  • Section: devel
  • Architecture: all
  • Source Package: cmake
  • normalized package name match
  • Matched by: Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-data from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-doc 3.28.3-1build7

extended documentation in various formats for CMake

https://cmake.org/

sudo apt install cmake-doc
  • Section: doc
  • Architecture: all
  • Source Package: cmake
  • 2 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

cmake-qt-gui 3.28.3-1build7

Qt based user interface for CMake (cmake-gui)

https://cmake.org/

sudo apt install cmake-qt-gui
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: cmake
  • 14 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cmake-qt-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ccmake 4.2.3-r0

Cross-platform, open-source make system (ccmake configurator)

https://cmake.org/

sudo apk add ccmake
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ccmake from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake 4.2.3-r0

Cross-platform, open-source make system

https://cmake.org/

sudo apk add cmake
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake-bash-completion 4.2.3-r0

Bash completions for cmake

https://cmake.org/

sudo apk add cmake-bash-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • normalized package name match
  • Matched by: Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake-doc 4.2.3-r0

Cross-platform, open-source make system (documentation)

https://cmake.org/

sudo apk add cmake-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • normalized package name match
  • Matched by: Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

cmake-emacs 4.2.3-r0

Cross-platform, open-source make system (emacs mode)

https://cmake.org/

sudo apk add cmake-emacs
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: cmake
  • normalized package name match
  • Matched by: Cmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmake-emacs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment