# Installer cpplint avec Homebrew, apk, apt, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cpplint pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cpplint
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cpplint
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:cpplint
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.0.2
- **Résumé source:** Static code checker for C++
- **Page d'accueil:** <https://pypi.org/project/cpplint/>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cpplint (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.0.2
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- 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
## Autres enregistrements de gestionnaires de paquets

- 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


## Combined YAML source

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


## Sources

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