Install htmlmin by entering the following commands in the terminal:
sudo apt update sudo apt install htmlmin
Description:
HTML Minifier - command line interface
Command line interface for python-htmlmin. . htmlmin is an HTML minifier that just works. It comes with safe defaults and an easily configurable set options.
Homepage: https://htmlmin.readthedocs.org/en/latest/
Version: 0.1.12-1
Section: universe/web