🚀 Getting Started with Mustela

Mustela is designed for extreme speed and simplicity. The entire process from installation to your first published site takes less than a minute.

1. Installation

✅ Release Status: v1.0.0-stable
Mustela is officially out. The engine is battle-tested, lightning fast (37ms build time), and ready for your projects.

Mustela is distributed as a single, 1.3 MB statically linked binary with zero dependencies.

# Download the stable binary
curl -L https://mustela.vercel.app/linux/amd64/mustela -o mustela
# Make it executable chmod +x mustela
# Move it to your PATH sudo mv mustela /usr/local/bin/

2. Initialize Your Project

Create a new directory and scaffold your project structure. Mustela offers two main paths depending on your frontend stack:

Command Preset Best For...
mustela init Vanilla Pure HTML/CSS, zero dependencies, maximum simplicity.
mustela init -p vite Vite Modern pipelines with Tailwind, PostCSS, and JS modules.

Mustela will generate the necessary directories (config/, theme/, content/) and, in the case of the Vite preset, a pre-configured package.json and vite.config.js ready for your asset pipeline.

3. Create Your First Post

Create a file named content/index.md. You can include metadata directly at the top of the file.

content/index.md
meta do
  title: My First Post
end
# Hello World! This is my first website generated with Mustela.

4. Build and Watch

Now, build your project. Thanks to the stateful DSL engine, this happens almost instantly.

# Run a one-time build
mustela build

# Enable development mode with automatic rebuilds (inotify)
mustela watch

💡 Pro Tip

Try editing your template in templates/default/main.mu while mustela watch is running. You will see all 5,000 pages rebuild before you can even finish a blink.