Automic VaultAutomic Vault

brew / 承認ゲート

cmake を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

cmake のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

エージェント安全性

エージェント安全性の回答

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.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install cmake

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install cmake

MacPorts ports tree · devel/cmake/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add cmake

Alpine Linux edge package indexes · cmake · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install cmake

Debian stable package indexes · cmake · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install cmake

Fedora Rawhide package metadata · cmake · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#cmake

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

Arch Linux pacman確認済み · 92%
sudo pacman -S cmake

Arch Linux sync databases · cmake · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install cmake

openSUSE Tumbleweed package metadata · cmake · ソース: download.opensuse.org

概要

パッケージ概要

Cross-platform make

コマンドとエイリアス

  • ccmake
  • cmake
  • cpack
  • ctest

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

承認ゲート

危険なコマンドの人手レビュー用メタデータ

ローカルの承認ゲートシードには cmake 用のルールが 6 件含まれます。対象エントリポイント: cmake, cpack, ctest。重大度ラベル: 高, 中。カバレッジ: partial、レビュー日: 2026-05-21。

ゲート対象アクション例

  • 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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ccmakecliグローバル実行可能ファイル
cmakecliグローバル実行可能ファイル
cpackcliグローバル実行可能ファイル
ctestcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版4.4.0
マネージャ更新日2026-07-10
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/Kitware/CMake

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cmake
バージョン4.4.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cmake
ホームページhttps://www.cmake.org/
リポジトリhttps://github.com/Kitware/CMake
上流ドキュメントhttps://cmake.org/cmake/help/latest
ライセンスBSD-3-Clause
ソースアーカイブhttps://github.com/Kitware/CMake/releases/download/v4.4.0/cmake-4.4.0.tar.gz
最終更新2026-07-10T04:16:11Z
Pulseupdated
macOS 提供ライブラリncurses
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし
注意点To install the CMake documentation, run: brew install cmake-docs

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • 6 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 6 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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