✨ Publier v1 is live — a polished docs platform built for the open web.
Skip to content

CLI reference

Every Publier CLI command, what it does, and when to use it.

The publier CLI scaffolds new sites, runs the dev server, builds for production, and manages your license token.

Commands

Preview

There is no publier preview command. Use your project’s preview script (bun run preview, which calls bunx --bun astro preview in scaffolded projects) to serve dist/ locally.

Tokens

publier dev and publier build both require a valid license token. See the token model for where Publier looks for it and how precedence works.