https://github.com/getsentry/sentry-cli
A command line utility to work with Sentry.
https://github.com/getsentry/sentry-cli
cli crash-reporting hacktoberfest rust sentry sentry-cli tag-production team-web-backend
Last synced: 23 days ago
JSON representation
A command line utility to work with Sentry.
- Host: GitHub
- URL: https://github.com/getsentry/sentry-cli
- Owner: getsentry
- License: bsd-3-clause
- Created: 2016-02-05T21:44:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-05-07T16:45:24.000Z (9 months ago)
- Last Synced: 2025-05-07T23:34:53.052Z (9 months ago)
- Topics: cli, crash-reporting, hacktoberfest, rust, sentry, sentry-cli, tag-production, team-web-backend
- Language: Rust
- Homepage: https://docs.sentry.io/cli/
- Size: 12.4 MB
- Stars: 935
- Watchers: 70
- Forks: 229
- Open Issues: 69
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tools - sentry-cli - [Sentry](https://sentry.io/) 的 CLI 工具。 (Command Line / Dependency Management)
- starred-awesome - sentry-cli - A command line utility to work with Sentry. (Rust)
- jimsghstars - getsentry/sentry-cli - A command line utility to work with Sentry. (Rust)
README
# 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](https://docs.sentry.io/cli/).
## Compatibility
Sentry CLI officially supports [Sentry SaaS](https://sentry.io/) and [Sentry Self-Hosted](https://github.com/getsentry/self-hosted) versions 25.11.1 and above.
### Self-Hosted Sentry
Although some Sentry CLI features may work with versions of Sentry Self-Hosted prior to 25.11.1, we recommend users upgrade their self-hosted installations to a compatible version.
For users who cannot upgrade their self-hosted installation, we recommend using the latest compatible Sentry CLI version, per the table below:
| **Sentry Self-Hosted Version** | **Newest Compatible Sentry CLI Version** |
| ------------------------------ | --------------------------------------------------------------------- |
| ≥ 25.11.1 | [latest](https://github.com/getsentry/sentry-cli/releases/latest) |
| < 25.11.1 | [2.58.4](https://github.com/getsentry/sentry-cli/releases/tag/2.58.4) |
Note that we can only provide support for officially-supported Sentry Self-Hosted versions. We will not backport fixes for older Sentry CLI versions, even if they should be compatible with your self-hosted version.
## Versioning
Sentry CLI follows semantic versioning, according to [this versioning policy](VERSIONING.md).
## Compiling
In case you want to compile this yourself, you need to install at minimum the
following dependencies:
* Rust stable and Cargo
* Make, CMake and a C compiler
Use cargo to compile:
$ cargo build
Also, there is a Dockerfile that builds an Alpine-based Docker image with
`sentry-cli` in the PATH. To build and use it, run:
```sh
docker build -t sentry-cli .
docker run --rm -v $(pwd):/work sentry-cli --help
```