Curvea

CLI

CLI Overview

The @curvea/cli package exposes the curvea binary.

With a project-local installation, invoke commands through project scripts where available or with npx:

npm run dev
npm run build
npx curvea make page About

A global installation can use curvea directly.

Commands

  • curvea new <name> creates a Curvea project.
  • curvea dev starts the development server.
  • curvea build builds static production output.
  • curvea serve [port] previews the project's dist/ directory.
  • curvea make <type> <Name> generates a page, layout, or component.
  • curvea add <feature> adds or configures an optional feature.

Running the binary without a recognized command prints usage information.

Project scripts

Projects generated by curvea new include:

{
  "scripts": {
    "dev": "curvea dev",
    "build": "curvea build"
  }
}

Use npm run dev and npm run build for the normal project workflow.