How To Install Highlight In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Highlight In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

highlight

Universal source code to formatted text converter

Maintainer: David Bremner



Section: devel

Install highlight

  • Debian apt-get install highlight Click to copy
  • Ubuntu apt-get install highlight Click to copy
  • Alpine OS apk add highlight Click to copy
  • Arch Linux pacman -S highlight Click to copy
  • Kali Linux apt-get install highlight Click to copy
  • CentOS yum install highlight Click to copy
  • Fedora dnf install highlight Click to copy
  • Raspbian apt-get install highlight Click to copy
  • macOS brew install highlight Click to copy

highlight

Universal source code to formatted text converter

A utility that converts sourcecode to HTML, XHTML, RTF, LaTeX, TeX, SVG, XML or terminal escape sequences with syntax highlighting. It supports several programming and markup languages. Language descriptions are configurable and support regular expressions. The utility offers indentation and reformatting capabilities. It is easily possible to create new language definitions and colour themes.

Installing highlight command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of highlight 2026 package in your OS.