For many HTMX users it is common to load HTMX from a remote server or CDN. Now you can load your HTMX from BytesOfProgress. The advantage of this method is that the HTMX version is updated automatically, you don't even have to change the file name in the link as it will always stay the same.
If you want an older version, BytesOfProgress stores all versions starting from "2.0.2". Just change the filename in the link to the following:"htmx2-0-2.min.js", or whatever version you would like. In every file, in line 1 and 2, the source and the date of the download is stated.
BytesOfProgress always serves the up-to-date, unchanged version from GitHub.
All you have to do is load HTMX from this link:
https://bytesofprogress.net/resources/HTMX/htmx.min.js