Automic VaultAutomic Vault

brew

cppcheck mit Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cppcheck in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install cppcheck

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install cppcheck

MacPorts ports tree · devel/cppcheck/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add cppcheck

Alpine Linux edge package indexes · cppcheck · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install cppcheck

Debian stable package indexes · cppcheck · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install cppcheck

Fedora Rawhide package metadata · cppcheck · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#cppcheck

nixpkgs package indexes · pkgs/by-name/cp/cppcheck/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S cppcheck

Arch Linux sync databases · cppcheck · Quelle: geo.mirror.pkgbuild.com

openSUSE zypperverifiziert · 92%
sudo zypper install cppcheck

openSUSE Tumbleweed package metadata · cppcheck · Quelle: download.opensuse.org

Windows

Chocolateyverifiziert · 92%
choco install cppcheck

Chocolatey community package catalog · cppcheck · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/cppcheck

Scoop official bucket manifest trees · bucket/cppcheck.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id Cppcheck.Cppcheck -e

Windows Package Manager source index · Cppcheck.Cppcheck · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Static analysis of C and C++ code

Befehle und Aliase

  • cppcheck
  • cppcheck-htmlreport

Verlauf

Projektgeschichte und Nutzung

Cppcheck is an open-source static analysis tool for C and C++ code. It focuses on bugs that compilers commonly miss, especially undefined behavior and dangerous constructs, while trying to keep false positives low.

Projektgeschichte

The upstream README notes that the original name was C++check and was later changed to Cppcheck. It also says that despite the name, Cppcheck is designed for both C and C++.

The GitHub repository was created in March 2009. The README states that the repository moved from danmar/cppcheck to cppcheck-opensource/cppcheck, and the official website now links current source downloads to the cppcheck-opensource GitHub releases.

Cppcheck has kept both command-line and graphical user interfaces. Upstream build documentation covers CMake, Visual Studio, Qt Creator, GNU make, MinGW, and cross-compiling, which explains why it appears in many OS package ecosystems.

Adoptionsgeschichte

The supplied package facts list Cppcheck across Homebrew, MacPorts, Debian, Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, Nix, openSUSE/zypper, Chocolatey, Scoop, winget, and more. Upstream's README also explicitly points users to Homebrew, MacPorts, Conda, Conan, and other distribution channels, while warning that third-party packages may lag releases.

The official website lists integrations with development tools such as Buildbot, CLion, Code::Blocks, CodeLite, Eclipse, and others. That integration footprint is part of why Cppcheck is common in CI and editor workflows.

Wie es verwendet wird

Cppcheck is used from the command line and GUI to analyze C/C++ projects for memory issues, out-of-bounds access, uninitialized variables, null dereferences, invalid shifts, integer overflows, and other undefined behavior. Upstream also documents addon, rules, and platform data files as part of packaged installs.

Warum Paket-Nerds sich dafür interessieren

Cppcheck is package-significant because static analyzers are often installed as developer tools rather than vendored into one project. Packagers need to track release cadence, optional PCRE/rules support, GUI builds, data-file install paths, and the upstream repository move while preserving a stable cppcheck command for CI.

Zeitleiste

  • 2009: Public GitHub repository created.
  • 2025: The upstream README documents the repository move to cppcheck-opensource/cppcheck.
  • 2026: Official releases include Cppcheck 2.21.0.

Related projects

  • Cppcheck Premium is the upstream commercial offering with additional checks and support.
  • The official website lists editor and CI integrations, including Buildbot, CLion, Code::Blocks, CodeLite, and Eclipse.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 2 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
cppcheckcliglobales Executable
cppcheck-htmlreportcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version2.21.0
Manager aktualisiert2026-07-05
lokale DatenOK
Upstreamaktuell
neueste erkannte Version2.21.0

https://github.com/cppcheck-opensource/cppcheck

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:cppcheck
Version2.21.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/cppcheck
Homepagehttps://sourceforge.net/projects/cppcheck/
Repositoryhttps://github.com/cppcheck-opensource/cppcheck
Upstream-Dokumentationhttps://cppcheck.sourceforge.io/
LizenzGPL-3.0-or-later
Quellarchivhttps://github.com/cppcheck-opensource/cppcheck/archive/refs/tags/2.21.0.tar.gz
Zuletzt aktualisiert2026-07-05T00:14:30+09:00
Pulseupdated
Abhängigkeitentinyxml2
Build-Abhängigkeitencmake, python@3.14
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecppcheck
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

cppcheck 2.17.1-2

tool for static C/C++ code analysis (CLI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck
  • Section: devel
  • Architecture: amd64
  • 6 Abhängigkeiten
  • 3 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cppcheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

cppcheck-gui 2.17.1-2

tool for static C/C++ code analysis (GUI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck-gui
  • Section: devel
  • Architecture: amd64
  • Source Package: cppcheck
  • 12 Abhängigkeiten
  • 3 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cppcheck-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cppcheck

nix profile install nixpkgs#cppcheck
  • normalized package name match
  • Abgeglichen nach: Cppcheck
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cp/cppcheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cppcheck 2.13.0-2ubuntu3

tool for static C/C++ code analysis (CLI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck
  • Section: universe/devel
  • Architecture: amd64
  • 6 Abhängigkeiten
  • 3 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cppcheck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

cppcheck-gui 2.13.0-2ubuntu3

tool for static C/C++ code analysis (GUI)

https://sourceforge.net/p/cppcheck/wiki/Home/

sudo apt install cppcheck-gui
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: cppcheck
  • 12 Abhängigkeiten
  • 3 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cppcheck-gui from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

cppcheck 2.21.0-r0

Static analysis tool for C/C++ code

https://cppcheck.sourceforge.io/

sudo apk add cppcheck
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cppcheck-doc 2.21.0-r0

Static analysis tool for C/C++ code (documentation)

https://cppcheck.sourceforge.io/

sudo apk add cppcheck-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cppcheck-gui 2.21.0-r0

Qt gui for cppcheck

https://cppcheck.sourceforge.io/

sudo apk add cppcheck-gui
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck-gui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cppcheck-htmlreport 2.21.0-r0

Utility to generate a html report of a XML file produced by cppcheck

https://cppcheck.sourceforge.io/

sudo apk add cppcheck-htmlreport
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cppcheck
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cppcheck-htmlreport from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

cppcheck 2.21.0-1.fc45

Tool for static C/C++ code analysis

http://cppcheck.sourceforge.io/

sudo dnf install cppcheck
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 8 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cppcheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

cppcheck-gui 2.21.0-1.fc45

Graphical user interface for cppcheck

http://cppcheck.sourceforge.io/

sudo dnf install cppcheck-gui
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 14 Abhängigkeiten
  • 2 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cppcheck-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

cppcheck-htmlreport 2.21.0-1.fc45

HTML reporting for cppcheck

http://cppcheck.sourceforge.io/

sudo dnf install cppcheck-htmlreport
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 3 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cppcheck-htmlreport from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

cppcheck 2.21.0-1

A tool for static C/C++ code analysis

http://cppcheck.sourceforge.net/

sudo pacman -S cppcheck
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 6 Abhängigkeiten
  • 2 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Cppcheck
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cppcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

cppcheck 2.21.0-1.1

A tool for static C/C++ code analysis

https://github.com/cppcheck-opensource/cppcheck

sudo zypper install cppcheck
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 6 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cppcheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

cppcheck-gui 2.21.0-1.1

A tool for static C/C++ code analysis

https://github.com/cppcheck-opensource/cppcheck

sudo zypper install cppcheck-gui
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cppcheck
  • 11 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Cppcheck
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cppcheck-gui from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

cppcheck

sudo port install cppcheck
  • normalized package name match
  • Abgeglichen nach: Cppcheck
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cppcheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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