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

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 Publier sign-in.

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 Publier seat, carried by the credential publier login stores. See the token model for where Publier looks for it, how precedence works, and what each error code means.