InstallationΒΆ

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+https://github.com/gcovr/gcovr.git

Which environments does gcovr support?

Python:

3.7+.

The automated tests run on CPython (versions 3.7, 3.8, 3.9, 3.10) and a compatible PyPy3. Gcovr will only run on Python versions with upstream support.

Last gcovr release for old Python versions:

Python gcovr
2.6 3.4
2.7 4.2
3.4 4.1
3.5 4.2
3.6 5.0
Operating System:

Linux, Windows, and macOS.

The automated tests run on Ubuntu 18.04 and 20.04 and Windows Server 2019.

Compiler:

GCC and Clang.

The automated tests run on GCC 5, 6, and 8.