Requirements
Use Node.js 22 or newer and npm. No global Eleventy installation is needed.
Install and preview
bash
npm install
npm run dev
npm install
npm run dev
Eleventy prints the local preview URL. Changes to Markdown, Nunjucks, CSS, and JavaScript trigger a reload.
Build for production
bash
npm run build
npm run build
Upload the generated out/ directory to your static host. The site does not need a Node server after the build.
Tip: Run
npm run checkin CI to catch broken templates before deploy.