Automic VaultAutomic Vault

brew

Install cmake-lint with Homebrew, Nix

Static code checker for CMake files. Version 1.4.3 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cmake-lint

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#cmake-lint

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

overview

Package summary

Static code checker for CMake files

Commands and aliases

  • cmakelint

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
$PWD/.cmakelintrc~/.config/cmakelintrc$XDG_CONFIG_DIR/cmakelintrc~/.cmakelintrc

executables

Installed executables

CommandKindExposureNote
cmakelintcliglobal 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 version1.4.3
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/cmake-lint/cmake-lint

install metadata

Package metadata

Package keybrew:cmake-lint
Version1.4.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cmake-lint
Homepagehttps://github.com/cmake-lint/cmake-lint
Repositoryhttps://github.com/cmake-lint/cmake-lint
Upstream docshttps://github.com/cmake-lint/cmake-lint#readme
LicenseApache-2.0
Source archivehttps://files.pythonhosted.org/packages/9f/46/9b6c39837be138179347611ec8cb79bf00ff3b54966ee8b63e031a05cf76/cmakelint-1.4.3.tar.gz
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecmake-lint
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • 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.

Nix95%

cmake-lint

nix profile install nixpkgs#cmake-lint
  • normalized package name match
  • Matched by: Cmake Lint
nixpkgs package indexes · api.github.com · 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 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
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment