Sentry CLI

GitHub

Sentry CLI 官方工具,用于管理发布版本、上传调试符号和源码映射、发送事件、监控定时任务及流式日志。适用于 CI/CD 流水线中的构建与部署环节,支持非交互式自动化操作。

Trigger Scenarios

需要创建或管理 Sentry 发布版本 上传源码映射或调试符号文件 在 CI/CD 流程中集成 Sentry 错误追踪 发送测试事件或查看实时日志

Install

npx skills add composio-community/awesome-agent-clis --skill Sentry CLI -g -y
More Options

Non-standard path

npx skills add https://github.com/composio-community/awesome-agent-clis/tree/master/sentry-cli -g -y

Use without installing

npx skills use composio-community/awesome-agent-clis@Sentry CLI

指定 Agent (Claude Code)

npx skills add composio-community/awesome-agent-clis --skill Sentry CLI -a claude-code -g -y

安装 repo 全部 skill

npx skills add composio-community/awesome-agent-clis --all -g -y

预览 repo 内 skill

npx skills add composio-community/awesome-agent-clis --list

SKILL.md

Frontmatter
{
    "name": "Sentry CLI",
    "description": "Manage Sentry releases, upload debug symbols and source maps, send events, monitor crons, and stream logs. Use when an agent needs to create releases, upload source maps, manage debug info files, or send test events to Sentry."
}

Sentry CLI

Official CLI for Sentry. Manages releases, debug information files, source maps, cron monitors, logs, and event sending. Used in CI/CD pipelines and build processes.

Installation

# npm
npm i -g @sentry/cli

# curl
curl -sL https://sentry.io/get-cli/ | bash

# Homebrew
brew install getsentry/tools/sentry-cli

# Docker
docker run --rm -v $(pwd):/work getsentry/sentry-cli --help

Configuration

# Interactive login
sentry-cli login

# Or set env vars
export SENTRY_AUTH_TOKEN=<token>
export SENTRY_ORG=<org-slug>
export SENTRY_PROJECT=<project-slug>

Config can also live in .sentryclirc or ~/.sentryclirc.

Key Commands

Release Management

sentry-cli releases list --format json
sentry-cli releases new <version>
sentry-cli releases set-commits <version> --auto
sentry-cli releases files <version> upload-sourcemaps ./dist
sentry-cli releases finalize <version>
sentry-cli releases deploys <version> new -e production

Debug Information Files

sentry-cli debug-files check <path>
sentry-cli debug-files upload <path>
sentry-cli debug-files list

Send Events

sentry-cli send-event -m "Test event"
sentry-cli send-event -m "Error occurred" -l error --logfile /var/log/app.log

Logs

sentry-cli logs list
sentry-cli logs stream

Cron Monitors

sentry-cli monitors list
sentry-cli monitors run <monitor-slug> -- <command>

Agent-Friendly Features

  • --format json for structured output
  • Auth via SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECT env vars
  • Non-interactive release and deploy management
  • Source map and debug symbol upload for CI/CD
  • Cron wrapping with monitors run

See Also

For interactive issue management, AI-powered root cause analysis, and natural language commands, see the new Sentry developer CLI (sentry command — separate from sentry-cli).

Version History

  • 9f765d2 Current 2026-07-24 16:03

Same Skill Collection

aws-cli/SKILL.md
coderabbit-cli/SKILL.md
composio-cli/SKILL.md
elevenlabs-cli/SKILL.md
gcloud-cli/SKILL.md
github-cli/SKILL.md
gitlab-cli/SKILL.md
google-workspace-cli/SKILL.md
mailcoach-cli/SKILL.md
neon-cli/SKILL.md
ntn/SKILL.md
planetscale-cli/SKILL.md
posthog-cli/SKILL.md
railway-cli/SKILL.md
ramp-cli/SKILL.md
remotion-cli/SKILL.md
resend-cli/SKILL.md
sendblue-cli/SKILL.md
sonoscli/SKILL.md
stripe-cli/SKILL.md
stripe-projects-cli/SKILL.md
supabase-cli/SKILL.md
tavily-cli/SKILL.md
turso-cli/SKILL.md
vercel-cli/SKILL.md
visa-cli/SKILL.md
wacli/SKILL.md
kapso-cli/SKILL.md

Metadata

Files
0
Version
9f765d2
Hash
2c8855bf
Indexed
2026-07-24 16:03

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-18 19:28
浙ICP备14020137号-1 $방문자$