You have to install cppcheck (Version 2..4.1) manually on your machine.

Installation on Windows

  1. Go to ‘https://sourceforge.net/projects/cppcheck/files/cppcheck/2.4/cppcheck-2.4.1-x64-Setup.msi/download‘.
  2. Open downloaded .msi file.
  3. Install Cppcheck.
  4. Check version on cmd: cppcheck --version.

Installation on Linux

Execute commands on the terminal:

  1. git clone --branch 2.4.x https://github.com/danmar/cppcheck.git /cppcheck
  2. mkdir /cppcheck/build
  3. cd /cppcheck/build
  4. cmake ..
  5. cmake --build . -- -j16
  6. make install
  7. cd /
  8. rm -rf /cppcheck
  9. cppcheck --version