home / dev-tools / sentry

Sentry CLI

Official · Sentry
986

Official Sentry CLI for releases, source maps, debug files, logs, issues, and cron monitors.

$curl -sL https://sentry.io/get-cli/ | sh
Language
Rust
Stars
986
Category
Dev Tools
Agent
Ready
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis

Sentry CLI is Sentry's official command-line client for release management, artifact uploads, and selected project operations. It is mainly the automation layer behind source map and debug-symbol handling, release bookkeeping, build uploads, issue or log inspection, and cron monitor check-ins.

What It Enables
  • Create, finalize, archive, restore, and inspect Sentry releases, attach commits, and record deploys from CI.
  • Upload or inspect source maps, debug symbols, ProGuard mappings, Dart symbol maps, and app builds so Sentry can symbolicate crashes and link artifacts to releases.
  • List issues, events, logs, projects, repos, or organizations, and wrap scheduled jobs with cron monitor check-ins that track the child command's success or failure.
Agent Fit
  • Release, sourcemap, debug-file, build, and monitor commands are non-interactive and map cleanly onto CI or scripted remediation loops.
  • Selected commands expose JSON output, especially for config checks and debug-file inspection, which helps with environment validation and artifact triage.
  • Read workflows are less clean for agents because many list commands default to human tables instead of structured output.
Caveats
  • Unattended use assumes an auth token is already configured, because the login flow can open a browser and prompt for input.
  • Some features are deployment-dependent: build upload is SaaS-only, and newer CLI versions require recent self-hosted Sentry releases.