sentry-cli
A command line utility to work with Sentry.
What it is and what it does
Sentry CLI is the official command-line interface for Sentry, a platform for error tracking and performance monitoring. It provides a way to interact with Sentry from scripts, CI/CD pipelines, and local development workflows without using the web interface. The tool handles common tasks like uploading debug symbols and source maps (critical for stack trace symbolication), creating and managing releases, and querying Sentry data such as issues and logs.
The package is distributed as pre-built wheels for multiple platforms (macOS, Linux, Windows) and CPU architectures (x86_64, ARM, ARM64), so installation is straightforward on most systems. It has no Python runtime dependencies, only requiring Python 3.7 or later. The tool is actively maintained and officially supports Sentry SaaS and self-hosted versions 24.11.1 and above; older self-hosted deployments may need an older CLI version.
Use it for:
- Automate source map and debug symbol uploads in CI/CD pipelines to enable proper stack trace symbolication in Sentry.
- Create and manage Sentry releases programmatically as part of deployment workflows.
- Query and retrieve issue data, logs, or other Sentry information from command-line scripts or monitoring systems.
- Integrate Sentry operations into local development workflows or shell scripts without leaving the terminal.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A command-line tool for interacting with Sentry, enabling tasks like uploading debug symbols and source maps, managing releases, and accessing Sentry data such as issues and logs.
Yes. Sentry CLI is actively maintained, has no external runtime dependencies, and is the official tool for Sentry integration from the command line. It's well-suited for CI/CD pipelines and scripting. The permissive license and broad platform support make it a low-friction choice for teams already using Sentry. Install it if you need to automate Sentry tasks or integrate Sentry into your deployment pipeline.
Install
sentry-cli on PyPI
pip
pip install sentry-cliuv
uv add sentry-clipoetry
poetry add sentry-cliInstalling sentry-cli
Before you install
Medium install friction due to platform-specific wheels (10 variants across macOS, Linux, Windows, and ARM architectures), but the package is actively maintained with a recent release and no runtime dependencies to manage.
License in practice
Licensed under FSL-1.1-MIT (permissive), meaning you can use and modify the package freely with minimal restrictions.
Quickstart
pip install sentry-cli
sentry-cli --version
sentry-cli releases list
Requires Python 3.7 or later; authentication token or API key needed to interact with Sentry instances.
Verify before relying
- Whether the package works equally well with Sentry SaaS and self-hosted instances in practice.
- Performance characteristics when uploading large source maps or debug symbol files.
- Exact feature parity between sentry-cli 3.6.2 and the new AI-powered CLI mentioned in the description.
Package facts
| License | FSL-1.1-MIT (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 208,684/month — #9,528 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sentry_cli-3.6.2-py3-none-macosx_10_15_x86_64.whl; sentry_cli-3.6.2-py3-none-macosx_11_0_arm64.whl; sentry_cli-3.6.2-py3-none-macosx_11_0_universal2.whl; sentry_cli-3.6.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_2_aarch64.whl; sentry_cli-3.6.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_2_armv7l.whl; sentry_cli-3.6.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.musllinux_1_2_i686.whl; sentry_cli-3.6.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_2_x86_64.whl; sentry_cli-3.6.2-py3-none-win32.whl; sentry_cli-3.6.2-py3-none-win_amd64.whl; sentry_cli-3.6.2-py3-none-win_arm64.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
sentry-sdkSentry SDK captures and reports Python…
permissive · top 1,000 on PyPI
trcliA command-line tool for uploading test…
unclear · top 15,000 on PyPI
ravenRaven is a legacy Python client for Sentry that…
permissive · top 5,000 on PyPI
policy-sentryPolicy Sentry generates least-privilege AWS IAM…
permissive · top 5,000 on PyPI
pytest-sentryA pytest plugin that sends test failure and…
permissive · top 15,000 on PyPI
structlog-sentryBridges structlog and Sentry to automatically…
permissive · top 5,000 on PyPI
sentry-kafka-schemasProvides Kafka topic definitions and JSON…
unclear · top 15,000 on PyPI
mapfile_parserParses compiled binary map files (GNU ld, clang…
unclear · top 15,000 on PyPI
codecov-cliA command-line interface for interacting with…
unclear · top 5,000 on PyPI
openhands-aciProvides tools and interfaces for AI agents to…
permissive · top 5,000 on PyPI