CLI reference

The commands Forge ships with, for local development and pipeline control.

Forge sites are ordinary Astro projects, so the standard Astro commands all work, plus a few Forge helpers.

Project commands

CommandWhat it does
npm run devStart the dev server at localhost:4321
npm run buildType-check, then build to dist/
npm run previewPreview the production build locally
npm testRun the Vitest suite

Forge helpers

CommandWhat it does
node scripts/init.mjsGenerate forge.config.yml
node scripts/generate-assets.mjsRender branded placeholder images
bash scripts/bootstrap-labels.shCreate the issue label scheme

Pipeline control

Kick a stage manually instead of waiting for its cron:

gh workflow run triage.yml --repo <owner/name>
gh workflow run execute.yml --repo <owner/name>