The CLI for developers and agents
No more flags. No more guessing. Just type what you mean and let the CLI figure out the rest. Built by humans and agents, for humans and agents.
curl https://cli.sentry.dev/install -fsS | bash $ sentry auth login
● Opening browser for authentication...
✓ Authenticated as [email protected]
$ sentry issue list
Issues from 3 projects:
SHORT ID ALIAS TITLE COUNT FIX
FRONTEND-79 f-79 TypeError: Cannot read property 'map'... 2.4k 92%
API-2F a-2f ReferenceError: user is not defined 891 67%
MOBILE-4D m-4d NetworkError: Failed to fetch 456 23%
$ sentry issue explain f-79
Root Cause Analysis Complete
══════════════════════════════
Cause: The userData response from /api/users returns
null when user session expires, but the component
assumes it's always an array and calls .map() directly.
→ Add null check before mapping: userData?.map()
It Knows Your Project
No config files. No flags. The CLI reads your .env, detects your project from the codebase, and just works. Monorepos, multiple orgs, complex setups — all handled automatically.
Stop memorizing project slugs and DSNs. Start typing commands that make sense.
$ sentry issue list
Detected project: my-app (from .env)
SHORT IDTITLECOUNT
WQTypeError: Cannot read property ‘map’…142
X3Failed to fetch user data from API89
R7Connection timeout after 30s34
Ask Seer Why
Get AI-powered root cause analysis right in your terminal. Seer analyzes stack traces, related events, and your codebase to explain exactly what went wrong and why.
Then run sentry issue plan to get a step-by-step fix you can apply immediately.
$ sentry issue explain WQ
Analyzing MYAPP-WQ…
Root Cause: The user object is undefined when
accessed before the auth check completes in useEffect.
Affected: src/hooks/useUser.ts:42
Run
sentry issue plan for a fix.Works With Everything
Structured JSON output for scripts and pipelines. Open issues directly in your browser. Pipe to jq, fzf, or your favorite tools.
Built for humans and AI agents alike — every command is predictable, composable, and automation-ready.
$ sentry org list —json | jq ’.[0]’
{
“slug”: “my-org”,
“name”: “My Organization”,
“projects”: 12,
“members”: 8
}