Getting started with pandoc – Installation or Setup

There are binary installer for pandoc available for Windows and MacOS, as well as a debian package, available for the latest release. There are usually not up-to-date versions of pandoc in "Debian, Ubuntu, Slackware, Arch, Fedora, NiXOS, openSUSE, and gentoo" repositories.

A reliable way to get the latest version if binaries are not an option is to compile from source, using either stack or cabal.

if you want to reproduce, please indicate the source:
Getting started with pandoc – Installation or Setup - CodeDay