macOS
brew install cmake-lintlocal Homebrew formula metadata
brew
Static code checker for CMake files. Version 1.4.3 via Homebrew; verified from local package data.
install
brew install cmake-lintlocal Homebrew formula metadata
nix profile install nixpkgs#cmake-lintnixpkgs package indexes · pkgs/by-name/cm/cmake-lint/package.nix · source: api.github.com
overview
Static code checker for CMake files
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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.
$PWD/.cmakelintrc~/.config/cmakelintrc$XDG_CONFIG_DIR/cmakelintrc~/.cmakelintrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cmakelint | 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/cmake-lint/cmake-lint
install metadata
| Package key | brew:cmake-lint |
|---|---|
| Version | 1.4.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cmake-lint |
| Homepage | https://github.com/cmake-lint/cmake-lint |
| Repository | https://github.com/cmake-lint/cmake-lint |
| Upstream docs | https://github.com/cmake-lint/cmake-lint#readme |
| License | Apache-2.0 |
| Source archive | https://files.pythonhosted.org/packages/9f/46/9b6c39837be138179347611ec8cb79bf00ff3b54966ee8b63e031a05cf76/cmakelint-1.4.3.tar.gz |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cmake-lint
nix profile install nixpkgs#cmake-lintsource 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.