# cmake-lint を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:cmake-lint
```

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

### macOS

- Homebrew (100%):

```sh
brew install cmake-lint
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cmake-lint
```

  証拠: nixpkgs package indexes: pkgs/by-name/cm/cmake-lint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:cmake-lint
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/cmake-lint>
- **バージョン:** 1.4.3
- **ソース概要:** Static code checker for CMake files
- **ホームページ:** <https://github.com/cmake-lint/cmake-lint>
- **リポジトリ:** <https://github.com/cmake-lint/cmake-lint>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/9f/46/9b6c39837be138179347611ec8cb79bf00ff3b54966ee8b63e031a05cf76/cmakelint-1.4.3.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- cmakelint (cli)
- cmakelint (エイリアス)

## 依存関係

- python@3.14

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.4.3
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/cmake-lint/cmake-lint
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

cmake-lint is a Python static style checker for CMake files. Its README describes a cmakelint command that parses CMake files, reports style issues, supports filters, and can be used directly or through pre-commit.

### プロジェクトの歴史

The current GitHub repository describes itself as a fork of richq/cmake-lint created to continue maintenance. The bundled changelog records that version 1.2 moved to GitHub and version 1.2.01 was published on PyPI; the GitHub API reports the current maintenance repository was created in June 2019.

### 採用の歴史

The project is distributed as the cmakelint Python package and the README gives pip installation instructions. The batch input lists Homebrew and Nix packages, and the README includes a pre-commit hook configuration, which makes it easy to adopt in project-level lint workflows.

### 使われ方

Users run cmakelint with one or more CMake files and optional --config or --filter arguments. The README documents .cmakelintrc lookup in the working directory, XDG-style config paths, and the home directory, plus inline lint_cmake pragmas for per-file filter overrides.

### パッケージ好きにとっての重要性

cmake-lint matters as a small, packageable CMake hygiene tool: it gives package maintainers and CI pipelines a lightweight way to enforce CMake style without pulling in a full build-system rewrite or editor integration.

### タイムライン

- 2012: changelog records version 1.2 moving to GitHub and 1.2.01 being published on PyPI.
- 2019: current maintenance fork repository is created.
- 2024: version 1.4.3 adds Python 3.12 support and is published as the latest GitHub release checked.

### Related projects

- cmake-lint is related to CMake, pre-commit, and other CMake formatting or editor tools such as cmake-format and cmake-language-server, but it remains focused on static lint checks.

### ソース

- <https://github.com/cmake-lint/cmake-lint#readme>
- <https://raw.githubusercontent.com/cmake-lint/cmake-lint/master/CHANGELOG.md>
- <https://api.github.com/repos/cmake-lint/cmake-lint>
- <https://api.github.com/repos/cmake-lint/cmake-lint/releases>
- <https://pypi.org/pypi/cmakelint/json>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: $PWD/.cmakelintrc, ~/.config/cmakelintrc, $XDG_CONFIG_DIR/cmakelintrc, ~/.cmakelintrc
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cmake-lint
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - cmake-lint: normalized package name match | nixpkgs package indexes: pkgs/by-name/cm/cmake-lint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cpplint](https://pkg.so/ja/brew/cpplint/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, python, style-checker.
- [actionlint](https://pkg.so/ja/brew/actionlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, static-analysis.
- [markdownlint-cli](https://pkg.so/ja/brew/markdownlint-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, style-checker.
- [markdownlint-cli2](https://pkg.so/ja/brew/markdownlint-cli2/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, style-checker.
- [checkstyle](https://pkg.so/ja/brew/checkstyle/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, static-analysis.
- [checkmake](https://pkg.so/ja/brew/checkmake/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, static-analysis.
- [editorconfig-checker](https://pkg.so/ja/brew/editorconfig-checker/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, style-checker.
- [bashate](https://pkg.so/ja/brew/bashate/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, style-checker.
- [vermin](https://pkg.so/ja/brew/vermin/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, code, developer, developer-tools.
- [vulture](https://pkg.so/ja/brew/vulture/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, code, developer, developer-tools.
- [cmake-language-server](https://pkg.so/ja/brew/cmake-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cmake, developer, developer-tools, python.

## Combined YAML source

View the package source record on GitHub. [combined/cmake-lint.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cmake-lint.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
