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

publier new

Scaffold a new Publier site from a template

Overview

Scaffold a new Publier site from a template

Usage

Terminal window
publier new [OPTIONS] [NAME]

Arguments

ArgumentDescription
[NAME]Directory and package name of the new site (asked for when omitted)

Options

OptionDescriptionChoices
--template <TEMPLATE>Site template (asked for when omitted; `docs` under —yes)docs, blog, company-site, full
--theme <THEME>Theme (asked for when omitted; `light` under —yes)almond, aspen, atrium, broadsheet, canopy, catppuccin, dark, dusk, emerald, enterprise, folio, hearth, lattice, light, maple, marigold, meridian, monolith, neutral, nocturne, ocean, prism, purple, ruby, solar, vitepress
--gitInitialize a git repository (asked for when neither this nor —no-git is given)
--no-gitDo not initialize a git repository
--installInstall dependencies with pnpm (asked for when neither this nor —no-install is given)
--no-installDo not install dependencies
-y, --yesDo not prompt; take the default for everything not given as a flag