CLI Commands

Comprehensive guide to using the SeanStack CLI for rapid development

Installation

npm install -g @seanstack/cli

Basic Commands

Create a new project

seanstack create my-app

Add a pattern

seanstack add component Button

Start development server

seanstack dev

Available Commands

create <name>

Create a new SeanStack project with all dependencies configured

add <pattern> [name]

Add a new pattern to your project (component, page, api route, etc.)

update

Update patterns to their latest versions

dev

Start the development server with hot reloading

build

Build the project for production deployment