Gcovr is available as a Python package that can be installed via pip.

Install newest stable gcovr release from PyPI:

pip install gcovr

Install development version from GitHub:

pip install git+

Which environments does gcovr support?

  • Python: 2.7 and 3.4+.

    The automated tests run on CPython 2.7, 3.4, and 3.5, and PyPy 2.7 and 3.5.

    Python 2.6 is no longer supported. The last stable release for that Python version was 3.4.

  • Operating System: Linux, Windows, and macOS.

    The automated tests run on Ubuntu 14.04 and Windows Server 2012.

  • Compiler: GCC and Clang.

    The automated tests run on GCC 5.