Skip to content

Install Cppcheck (version 2.18.0) manually on your machine.

Windows Installation

  1. Download the installer: https://sourceforge.net/projects/cppcheck/files/cppcheck/2.18/cppcheck-2.18.0-x64-Setup.msi/download
  2. Run the downloaded .msi file.
  3. Complete the installation wizard.
  4. Verify the version:
cppcheck --version

Linux Installation

Run the following commands:

git clone --branch 2.18.x https://github.com/danmar/cppcheck.git /cppcheck
mkdir /cppcheck/build
cd /cppcheck/build
cmake ..
cmake --build . -- -j16
make install
cd /
rm -rf /cppcheck
cppcheck --version