Developer Tool · laser CLI

One binary.
Two modes.

laser is a single binary that drives the entire LaserData Cloud control plane from your terminal. Headless verbs for scripts, CI and pipes. A full-screen TUI dashboard for interactive work. Same binary, same config, same credentials.

Install
$ curl -fsSL https://cli.laserdata.cloud/install.sh | sh
Two surfaces

Headless when you script.
Interactive when you explore.

Every verb runs in either mode. Pipe laser deployment list -o json from a cron job, or pop the same view inside the dashboard with laser tui.

laser cli
laser CLI in headless mode listing tenants
laser CLI tenant structure rendered as JSON
laser CLI deployment list with table output
laser CLI deployment watch streaming progress
01
04
Install

From zero to a starter deployment in a minute.

Quick start
# 1. Install (SHA-256 verified, drops into ~/.local/bin)
curl -fsSL https://cli.laserdata.cloud/install.sh | sh

# 2. Sign in. API key is stored in the OS keyring.
laser auth login

# 3. Explore your tenant
laser tenant get
laser tenant structure -o json

# 4. Launch the dashboard
laser tui

# 5. Spin up a starter deployment (AWS or GCP)
laser deployment create-starter --cloud aws --region us-east-1
laser deployment watch --deployment-id <id>
Pin a version
$ curl -fsSL https://cli.laserdata.cloud/install.sh | sh -s -- --version v0.0.1
Upgrade in place
$ laser update
Built for daily use

Things you’ll actually reach for.

OS keyring · 0600

Secrets stay in the keyring

Per-context API keys live in the OS keyring (Secret Service on Linux, Keychain on macOS). Only context names hit disk; the config file is written 0600 via atomic temp-then-rename. TUI history redacts every secret-bearing flag (--api-key, --token, --password, and friends) before persisting.

-o table | json | yaml | name

Pipe-friendly output

Auto-detects TTY vs pipe: aligned tables in your terminal, stable JSON when scripted. YAML and name-only modes for kubectl-style xargs pipelines.

:

Command palette

Hit : or / inside the TUI to run any headless verb against the live dashboard. ↑/↓ cycle candidates while the palette is open and command history when it’s closed. Enter or Tab accepts the highlight.

--interactive

One verb, two surfaces

Append --interactive to any verb (laser deployment list --interactive) to seed the TUI with the resolved command and its rendered output.

--generate <shell>

Shell completions

Bash, Zsh, Fish, PowerShell and Elvish completions ship in the binary. laser --generate zsh > ~/.zfunc/_laser.

logs/laser-YYYY-MM-DD.log

Always-on debug log

Every invocation writes a daily rolling log under XDG_DATA_HOME (or the platform equivalent on macOS), even with --silent. Tune verbosity with LD_LOG / LD_LOG_FILE using standard tracing directives.

Claude Code Skills

Drive laser with plain language.

The official laser-cli-claude skill pack ships slash commands like /laser-deploy and /laser-troubleshoot. Dry-run before execute, JSON-only parsing, OS keyring for credentials, per-entry confirmation for destructive ops.

Marketplace (recommended)
/plugin marketplace add laserdata/laser-cli-claude
/plugin install cli@laser
One-line script
$ curl -fsSL https://cli.laserdata.cloud/claude.sh | sh
SkillPurpose
/laser-onboardFirst-run setup: install the binary, walk through sign-in, sanity-check the active context.
/laser-deployTranslates "spin up Iggy in eu-west-1 on small" into the matching create-managed / create-starter / create-byoc invocation. Cloud, region, tier and storage are pulled from the API.
/laser-configManages versioned deployment configs (iggy, connectors, warden, individual connector instances). List, view, create new versions from JSON, activate, delete, plus connector-instance lifecycle.
/laser-troubleshootPulls metrics, heartbeats, recent logs and access rules for a deployment in trouble. Returns a structured health report with a concrete next step.
/laser-snapshotManages diagnostic HTML snapshots covering system state, runtimes, certificates, kernel parameters and logs.
/laser-backupPoint-in-time backups of storage volumes on AWS network-storage deployments. List, create, restore, and delete with safety checks.
/laser-accessLists, adds and deletes CIDR allowlists on a deployment.
/laser-credentialsReads deployment connection credentials safely. Output is masked in chat and never persisted.
/laser-channelManages tenant notification channels (Slack, webhook, email): create, get, list, update, delete, test, inspect delivered notifications.
/laser-iamTenant identity + access surface: API keys, members, roles, invitations, and registered cloud accounts. All scoped to the active tenant.
/laser-auditQueries the tenant audit log with rich filters (time, division, environment, deployment, user, types, correlation id) for incident forensics and compliance.
/laser-billingReads the tenant billing surface: subscription info, billing reports, invoices, and invoice-PDF download.
/laser-contextLists, switches, creates, renames and deletes named contexts.
/laser-debugReads the local debug log and surfaces recent failures grouped by target.

Ready to drive Cloud from your terminal?

Install the binary, sign in, and spin up a starter deployment in under a minute.