skillfed

sentry-cli

A command line utility to work with Sentry.

sentry-cli v3.6.2 208.7K downloads/30d#9,528 on PyPI1,037
Permissive license FSL-1.1-MIT Active released

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-cli

uv

uv add sentry-cli

poetry

poetry add sentry-cli

Installing 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

Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Tags

sentry cli command lineupload source maps debug symbolssentry release managementsentry issue tracking clierror monitoring command line tool
error-trackingci-cd-integrationdevops

More Build Tools packages