A command line utility to work with Sentry.
Actively maintained. Last release 6 weeks ago, commits in 19 of the last 26 weeks. A safe choice.
pip install sentry-cli[!IMPORTANT] This repository is no longer under active development, as our new CLI will soon be replacing this one.
We are therefore no longer accepting feature requests for this repo. Also, we will generally only fix bugs in this repo when there is a concrete reason preventing adoption of the new CLI. Please raise new issues in the
getsentry/toolkitmonorepo, whosepackages/clidirectory contains the new CLI.
Sentry CLI
This is the repository for Sentry CLI, the official command line interface for Sentry.
Sentry CLI can be used for many tasks, including uploading debug symbols and source maps to Sentry, managing releases, and viewing Sentry data such as issues and logs.
Installation and Usage
Please refer to Sentry CLI's documentation page.
Compatibility
Sentry CLI officially supports Sentry SaaS and Sentry Self-Hosted versions 24.11.1 and above.
Self-Hosted Sentry
For self-hosted installations, only those features which were available in Sentry CLI at the time of the release of the given self-hosted version are supported, as new features may require server-side support. Additionally, some features, like the sentry-cli build commands, are restricted to Sentry SaaS.
Users who are using Sentry Self-Hosted versions older than 24.11.1 are encouraged to upgrade their Sentry Self-Hosted installations before using Sentry CLI versions 3.0.0 and above. For users who cannot upgrade, please use the version indicated in the table below.
| Sentry Self-Hosted Version | Newest Compatible Sentry CLI Version |
|---|---|
| ≥ 24.11.1 | latest |
| < 24.11.1 | 2.58.6 |