Cppcheck

by The Cppcheck team

Cppcheck is a static analysis tool for C/C++ code.

Version
2.20.0
License
GPL-3.0
Installer
wix
Arch
x64
Package ID
Cppcheck.Cppcheck
adminanalysisc++checkcodecppstatic

// install via winget

Command Prompt & PowerShell click to copy
winget install Cppcheck.Cppcheck

// direct download

Download Installer

// about Cppcheck

Cppcheck is a static analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools it does not detect syntax errors in the code. Cppcheck primarily detects the types of bugs that the compilers normally do not detect. The goal is to detect only real errors in the code (i.e. have zero false positives).

// frequently asked questions

How do I install Cppcheck using winget?
Open PowerShell or Windows Terminal and run: winget install Cppcheck.Cppcheck. Winget ships with Windows 10 (1809+) and Windows 11 — no additional install needed.
What is Cppcheck?
Cppcheck is a static analysis tool for C/C++ code.
Is Cppcheck free to download?
Cppcheck is distributed under the GPL-3.0 license. Use the winget command above or click the download button to get the installer directly from the publisher.
How do I update Cppcheck with winget?
Run winget upgrade Cppcheck.Cppcheck in PowerShell or Windows Terminal to update Cppcheck to the latest available version.
What architecture does Cppcheck support?
The listed installer targets the x64 architecture. See the publisher’s documentation for full compatibility details.