Zint: Manual

2. Installing Zint

2.1 Linux

The easiest way to configure compilation is to take advantage of the CMake utilities. You will need to install CMake and libpng first. Note that you will need both libpng and libpng-devel packages. If you want to take advantage of Zint Barcode Studio you will also need the Qt libraries pre-installed.

Once you have fulfilled these requirements unzip the source code tarball or clone the latest source

git clone https://git.code.sf.net/p/zint/code zint

and follow these steps in the top directory:

mkdir build
cd build
cmake ..
make install

The CLI command line program can be accessed by typing

zint {options}

Notice that the data needs to be entered after all other options. Any options given after the data will be ignored. The GUI can be accessed by typing


To test that the installation has been successful a shell script is included in the frontend sub-directory. To run the test type


This should create numerous files showing the many modes of operation which are available from Zint.

2.2 Microsoft Windows

For Microsoft Windows, Zint is distributed as a binary executable. Simply download the ZIP file, then right-click on the ZIP file and "Extract All". A new folder will be created within which are two binary files:

  • qtZint.exe - Zint Barcode Studio
  • zint.exe - Command Line Interface

For fresh releases you will get a warning message from Microsoft Defender SmartScreen that this is an "unrecognised app". This happens because Zint is a free and open-source software project with no advertising and hence no income, meaning we are not able to afford the $664 per year to have the application digitally signed by Microsoft.

To build Zint on Windows from source, see "win32/README".

2.3 Apple macOS

Zint can be installed using Homebrew. To install homebrew input the following line into the MacOS terminal

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Once homebrew is installed use the following command to install Zint.

brew install zint

2.4 Zint TCL backend

The tcl backend may be built using the provided TEA build on Linux, Windows, Mac-OS and Android. For Windows, an MS-VC6 makefile is also available.