git clone https://github.com/jewettaij/moltemplate moltemplate
and follow the installation instructions in the
README file.
To update to the latest version of moltemplate use:
git pull
If you have difficulty accessing the github server, you can also:
tar -xzvf moltemplate_2025-3-18.tar.gz
(The date will vary from version to version.)