# cpplint を Homebrew, apk, apt, Nix でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install cpplint
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cpplint
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:cpplint
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.0.2
- **ソース概要:** Static code checker for C++
- **ホームページ:** <https://pypi.org/project/cpplint/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cpplint (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.0.2
## プロジェクトの歴史と使われ方

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

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

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.

### 採用の歴史

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.

### 使われ方

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.

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

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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: CPPLINT.cfg
## 他のパッケージマネージャ記録

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


## ソース

- 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
