Skip to main content
Version: 0.1.0

CLI Overview

The RaisinDB CLI manages the server, scaffolds projects with AI agent support, and handles package deployment.

Installation

npm install -g @raisindb/cli

Quick Start

raisindb server start        # Download & start server
raisindb login # Authenticate (opens browser)
raisindb package init my-app # Scaffold project + install types + agent skills
cd my-app
npm run validate # Validate package YAML
npm run deploy # Build & upload to server

Command Groups

GroupDescription
raisindb login/logoutAuthenticate with a server
raisindb serverInstall, start, stop, update the server
raisindb packageInit, validate, build, deploy, sync packages
raisindb shellInteractive SQL shell

Configuration

The CLI stores authentication and server settings in .raisinrc (YAML format):

server: http://localhost:8080
token: <jwt-token>
default_repo: demo

Config file lookup order:

  1. Walk up directory tree from current directory
  2. Fall back to ~/.raisinrc (home directory)

The raisindb login command writes this file automatically.