Skip to main content

Scaffold

The fastest way to get started. The scaffold command creates a ready-to-run Docusaurus workspace with the preset already wired up.

Usage

The wizard walks you through project name, workspace name, and output directory. Once complete, install dependencies and start the dev server:

npm install
npm run start

Options

FlagDescription
-d, --dry-runPreview changes without writing files.
--name <name>Project or workspace name.
--workspace-name <name>Workspace directory name.
--output <dir>Output directory.

Non-Interactive Mode

Provide all flags to skip the wizard entirely:

nova scaffold docs docusaurus --name my-docs --workspace-name docusaurus --output ./my-docs

For the full scaffold reference, see Scaffold Docusaurus.