@yavio/cli
v0.1.2
Published
CLI for setting up the Yavio SDK and managing self-hosted Yavio deployments
Maintainers
Readme
@yavio/cli
CLI for setting up the Yavio SDK and managing self-hosted Yavio deployments.
Install
npm install -g @yavio/cliOr run directly:
npx @yavio/cli <command>Commands
yavio init
Initialize SDK configuration in the current project. Creates a .yaviorc.json file and adds it to .gitignore.
yavio init
yavio init --api-key yav_... --endpoint https://ingest.example.comyavio up
Start the self-hosted Yavio platform via Docker Compose.
yavio up
yavio up --build # rebuild images first
yavio up --prod # use production compose overrides
yavio up -f ./compose.yml # custom compose fileyavio down
Stop the platform. Data volumes are preserved.
yavio downyavio status
Show service health for Dashboard, Ingestion API, ClickHouse, and PostgreSQL.
yavio statusyavio logs [service]
Tail logs for a specific service or all services.
yavio logs # all services
yavio logs ingest # just the ingest service
yavio logs -n 50 # last 50 lines
yavio logs --no-follow # print and exitServices: dashboard, ingest, clickhouse, postgres, docs
yavio update
Pull latest Docker images and restart services.
yavio update
yavio update --all # also update third-party images
yavio update --dry-run # preview without pullingyavio reset
Wipe data volumes and reinitialize the platform. Requires confirmation.
yavio reset
yavio reset --keep-config # only wipe ClickHouse eventsyavio doctor
Diagnose common setup issues — checks Node.js version, Docker availability, config files, service connectivity, and port conflicts.
yavio doctorGlobal Options
--verbose Enable verbose output
--version Show CLI version
--help Show helpDocumentation
Full documentation is available at docs.yavio.ai.
