Skip to content

Spotlight CLI

The Spotlight CLI (spotlight) integrates Spotlight into your terminal workflow. Wrap your app to automatically capture telemetry, or stream events directly to your terminal.

  • Automatic instrumentation: spotlight run sets up environment variables and captures output automatically
  • Real-time streaming: View errors, logs, and traces directly in your terminal
  • Multiple output formats: Human-readable, JSON, logfmt, or Markdown
  • Docker Compose support: Auto-injects configuration into containerized services
  • Scriptable: Perfect for CI/CD pipelines and automation

No installation needed:

Terminal window
npx @spotlightjs/spotlight run
CLI Desktop App
Best for Terminal workflows, automation Visual debugging, dedicated window
Platform All (via Node.js or binary) macOS (Win/Linux coming soon)
Output Terminal + browser UI Built-in UI
Features Wrap apps, stream to files, CI/CD Auto-updates, native experience

Learn more about Desktop App →