View on


fviz is written in C++. You can either install a binary release or compile from source. Once the installation is complete, you will have a fviz binary on your system.

You can find the complete source code on Github

Compile from source

To build fviz, you need an up-to-date C++ compiler, cmake, libharfbuzz and libfreetype. To install these dependencies, run the following command:

# Ubuntu
$ apt-get install cmake libfreetype6-dev libharfbuzz-dev libfribidi-dev libcairo2-dev libfmt-dev

# Fedora
$ dnf install cmake freetype-devel harfbuzz-devel fribidi-devel cairo-devel fmt-devel

$ brew install cmake freetype harfbuzz fribidi cairo cppformat

To compile fviz, Run:

$ git clone
$ cd fviz
$ cmake .
$ make -j

To install the fviz binary into your system, run make install:

$ make install

To run the test suite, run make test:

$ make test
Edit this page on GitHub