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
Architecture
x64
Package ID
Cppcheck.Cppcheck
adminanalysisc++checkcodecppstatic
Install winget install Cppcheck.Cppcheck Click to copy
↓ 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 Windows Terminal or PowerShell and run: winget install Cppcheck.Cppcheck. Winget is built into Windows 10 (version 1809+) and Windows 11 — no separate download required.
What is Cppcheck?
Cppcheck is a static analysis tool for C/C++ code.
Is Cppcheck free to download?
Cppcheck is available 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 Windows Terminal or PowerShell to update Cppcheck to the latest available version.
What Windows versions support Cppcheck?
The installer for Cppcheck targets the x64 architecture. Check the publisher’s documentation for minimum Windows version requirements. Winget itself requires Windows 10 version 1809 or later.