Install with winget
Open PowerShell or Command Prompt and run:
winget install Cppcheck.Cppcheck
Copied to clipboard!
1Open PowerShell or Command Prompt
2Paste and run the command above
3Follow any on-screen prompts to complete installation
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).
Advanced Install Options
Install (latest)
winget install Cppcheck.CppcheckInstall (pinned version)
winget install --id Cppcheck.Cppcheck -e --version 2.20.0Upgrade
winget upgrade Cppcheck.CppcheckUninstall
winget uninstall Cppcheck.CppcheckFrequently Asked Questions
How do I install Cppcheck using winget?
Open PowerShell or Windows Terminal and run:
winget install Cppcheck.Cppcheck. Winget comes pre-installed on Windows 10 (1809+) and Windows 11.What is Cppcheck?
Cppcheck is a static analysis tool for C/C++ code.
Is Cppcheck free to use?
Cppcheck is distributed under the GPL-3.0 license. Check the publisher’s site for full licensing details.
How do I update Cppcheck with winget?
Run
winget upgrade Cppcheck.Cppcheck in PowerShell or Windows Terminal to upgrade to the latest available version.How do I uninstall Cppcheck?
Run
winget uninstall Cppcheck.Cppcheck to remove Cppcheck from your system.