Bootstrap an HTMX app with npx!
npx create-htmx-app
This project runs on Node.js 20. You can either install node yourself, or use Devbox and direnv.
First, install Devbox and direnv.
Note
Normally this takes a couple steps, however I've developed a simple Devbox and direnv installer for systems with bash and apt-get. Runbash <(curl -s https://raw.githubusercontent.com/tom-ricci/easy-devbox/master/script.sh)
to install everything this way.
Next, reload your shell and cd
into the project. Once you're there, run devbox generate direnv
and .. && .
.
Finally, npm i
the dependencies.