Download and installation

The current release is version 2.17.2.

Packaged versions

You can download it from the Python Package Index. For installation of packages from PyPI, we recommend Pip, which works on all major platforms.

Under Linux, most distributions include a package for Pygments, usually called pygments or python-pygments. You can install it with the package manager as usual.

Development sources

We’re using the Git version control system. You can get the development source using this command:

git clone https://github.com/pygments/pygments

Development takes place at GitHub.

The latest changes in the development source code are listed in the changelog.