# Install cpplint with Homebrew, apk, apt, Nix

Static code checker for C++. Version 2.0.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:cpplint
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cpplint
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cpplint
```

  Evidence: Alpine Linux edge package indexes: cpplint from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cpplint
```

  Evidence: Debian stable package indexes: cpplint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#cpplint
```

  Evidence: nixpkgs package indexes: pkgs/by-name/cp/cpplint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:cpplint
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cpplint>
- **Version:** 2.0.2
- **Source summary:** Static code checker for C++
- **Homepage:** <https://pypi.org/project/cpplint/>
- **Repository:** <https://github.com/cpplint/cpplint>
- **Upstream docs:** <https://github.com/cpplint/cpplint#readme>
- **License:** Apache-2.0
- **Source archive:** <https://files.pythonhosted.org/packages/c5/83/47a9e7513ba4d943a9dac2f6752b444377c91880f4f4968799b4f42d89cc/cpplint-2.0.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cpplint (cli)
- cpplint (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.2
- Local data: ok
- Upstream repository: https://pypi.org/project/cpplint/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

cpplint is a command-line static style checker for C and C++ files following Google's C++ style guide.

### Project history

The maintained cpplint package identifies itself as a fork of Google's cpplint from google/styleguide. Its README says the fork keeps the same core purpose while accepting fixes that make the tool usable in wider contexts.

### Adoption history

The package is distributed through PyPI for Python-based installation and through Unix package managers, making it easy to add to local developer workflows and CI jobs.

### How it is used

Typical usage is cpplint [OPTIONS] files. The fork documents practical additions such as Python 3 compatibility, recursive file discovery, exclusion support, JUnit XML output, configurable extensions, and repository-root overrides.

### Why package nerds care

cpplint is a good example of a small language-policy tool that package managers keep around because many C++ projects want style checking without adopting a full compiler analysis stack.

### Timeline

- Original upstream: Google open-sourced the in-house cpplint tool in google/styleguide.
- Fork era: The cpplint/cpplint package tracks fixes and packaging-friendly changes for wider use.

### Related projects

- The package is directly related to Google's C++ Style Guide and the google/styleguide repository.

### Sources

- <https://github.com/cpplint/cpplint#readme>
- <https://pypi.org/project/cpplint/>
- <https://github.com/google/styleguide>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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: CPPLINT.cfg
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cpplint
- **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

## Other Package-Manager Records

- Debian apt - cpplint - 1.6.1-3: normalized package name match | Debian stable package indexes: cpplint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Static code checker for C++ | https://github.com/cpplint/cpplint
- Nix - cpplint: normalized package name match | nixpkgs package indexes: pkgs/by-name/cp/cpplint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cpplint - 1.6.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: cpplint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Static code checker for C++ | https://github.com/cpplint/cpplint
- apk - cpplint - 2.0.2-r1: normalized package name match | Alpine Linux edge package indexes: cpplint from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Static code checker for C++ | https://github.com/cpplint/cpplint
- apk - cpplint-pyc - 2.0.2-r1: normalized package name match | Alpine Linux edge package indexes: cpplint-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for cpplint | https://github.com/cpplint/cpplint


## Related links

- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [bashate](https://www.automicvault.com/pkg/brew/bashate/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [editorconfig-checker](https://www.automicvault.com/pkg/brew/editorconfig-checker/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [flake8](https://www.automicvault.com/pkg/brew/flake8/) - Shares av.db curated category or tags: cli, developer-tools, linting, python.
- [markdownlint-cli](https://www.automicvault.com/pkg/brew/markdownlint-cli/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [markdownlint-cli2](https://www.automicvault.com/pkg/brew/markdownlint-cli2/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [actionlint](https://www.automicvault.com/pkg/brew/actionlint/) - Shares av.db curated category or tags: cli, developer-tools, linting.
- [bpmnlint](https://www.automicvault.com/pkg/brew/bpmnlint/) - Shares av.db curated category or tags: cli, developer-tools, linting.
- [checkbashisms](https://www.automicvault.com/pkg/brew/checkbashisms/) - Shares av.db curated category or tags: cli, developer-tools, linting.
- [cmake-lint](https://www.automicvault.com/pkg/brew/cmake-lint/) - Both packages touch the same language runtime or ecosystem. Shared terms: checker, cli, code, developer, developer-tools.
- [pycodestyle](https://www.automicvault.com/pkg/brew/pycodestyle/) - Both packages touch the same language runtime or ecosystem. Shared terms: checker, cli, code, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/cpplint.yml](https://github.com/automic-vault/db/blob/main/combined/cpplint.yml)


## Sources

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