Installing HTMX

January 22nd, 2024

HTMX can be installed in a variety of ways, but my current favorite is a local install with your package manager of choice, and a direct link to the installed file in the <head> of your base layout HTML file. It looks like this:

$ bun install htmx.org
<head>
	...
	<script src="htmx.js"></script>
</head>