Start local
Run
primo init and primo new to create a workspace on your machine. Build the site locally, then deploy when ready.Start deployed
Deploy Primo to Railway or a VPS first, then pull it down to your laptop with
primo pull for local edits.- Start local
- Start deployed
Path 1: Build locally, deploy later
Best for: starting from scratch, prototyping, or experimenting before committing to a host.1
Install the CLI
2
Create a workspace and a site
primo init creates the workspace and offers to connect your AI agent to the Primo MCP tools. primo new creates the site and starts the local CMS. If the port is busy, Primo picks the next free one and prints the URLs it’s using.3
Edit blocks and pages
Open the workspace in your editor:Edit
sites/my-site/blocks/<name>/component.svelte in your editor — the CMS reflects changes immediately. See Local Development for the full workflow including --author modes.4
Let AI agents help
The workspace includes an See the MCP server reference for details.
AGENTS.md guide (and a CLAUDE.md that imports it), so Claude Code, Cursor, and other agents know how Primo sites are structured. If you skipped MCP setup during primo init, connect the Primo MCP tools so agents can validate edits and scaffold blocks correctly:5
Deploy when ready
What’s Next
Core Concepts
Sites, page types, pages, blocks, fields
Build from Scratch
Walk through building a complete site end-to-end
Local Development
primo dev, author modes, uploads folderInvite Collaborators
Hand the site off to non-technical editors