Installation
CLI Reference
Install, link, and run the Xyra CLI for panel workflows.
Overview
xyra is the CLI that ships with the panel. Its commands live in /panel/cli/index.mjs and are exported through the bin field in panel/package.json. Run xyra --help for the banner or link it globally on your VPS.
Command catalog
| Category | Command | Purpose |
|---|---|---|
| Core | xyra build | pnpm build for Nitro output. |
| Core | xyra deploy | Build (unless --skip-build) then reload/start PM2. |
| Core | xyra pm2 <sub> | Process controls: start, reload, restart, stop, delete, status, logs. |
| Core | xyra pm2 paste-logs | Upload recent PM2 logs to the Xyra paste service. |
| Tooling | xyra nuxt | dev, preview, generate. |
| Tooling | xyra lint | Oxlint suites (fix, type-aware, type-check). |
| Tooling | xyra fmt | Oxfmt + check. |
| Tooling | xyra test | Vitest watch / coverage. |
| Tooling | xyra db | Drizzle generate / push. |
| Tooling | xyra pwa | PWA asset generator. |
