← Package directory
Available on winget

Install sentry-cli

A command line utility to work with Sentry.

Install with winget
winget install --id Sentry.sentry-cli
Upgrade
winget upgrade --id Sentry.sentry-cli
Uninstall
winget uninstall --id Sentry.sentry-cli

About sentry-cli

A command line utility to work with Sentry.

What's new in 3.4.2

Fixes - (snapshots) Stop sending Sentry auth token to Objectstore (#3286) - (js) Fix argument injection in JavaScript API's serializeOptions. String/number options now validate input types and prevent Array.prototype.concat() from flattening array values into separate CLI arguments. (#3287)

Read release notes

Version history

Version Updated Notes
3.4.2 Unknown Fixes - (snapshots) Stop sending Sentry auth token to Objectstore (#3286) - (js) Fix argument injection in JavaScript API's serializeOptions. String/number options now validate input types and prevent Array.prototype.con...
3.4.1 Unknown Improvements - (bundle-jvm) Warn and skip subsequent duplicates when multiple files strip to the same URL (e.g. Android build variants contributing the same FQCN). The warning points users at --exclude to scope the bundl...
3.4.0 Unknown Features - (snapshots) Add --selective flag to build snapshots to indicate the upload contains only a subset of images (#3268) - (bundle-jvm) Allow running directly on a project root (including multi-module repos) by aut...
3.3.5 Unknown Performance - (snapshots) Parallelize image hashing with rayon (#3250) Fixes - (sourcemaps) Skip non-base64 embedded sourcemaps during injection (#3243)
3.3.4 Unknown New Features ✨ - Add sentry-cli build download command to download installable builds (IPA/APK) by build ID (#3221). - Add sentry-cli code-mappings upload command to bulk upload code mappings from a JSON file (#3207, #32...
3.3.3 Unknown Internal Changes πŸ”§ - (npm) πŸ€– Bump optional dependencies to 3.3.2 in afdef906
3.3.2 Unknown New Features ✨ - (preprod) Add VCS parameters to snapshots upload command by @rbro112 in #3200 Internal Changes πŸ”§ - (npm) πŸ€– Bump optional dependencies to 3.3.1 in 3200dfb9
3.3.1 Unknown Fixes - Accept ProGuard mapping files without line information instead of rejecting them (#3192). Experimental Feature πŸ§‘β€πŸ”¬ (internal-only) - Pipe snapshot sidecar metadata into upload as part of sentry-cli build snapshot...
3.3.0 Unknown New Features - Added sentry-cli proguard uuid <PATH> to compute and print the UUID for a ProGuard mapping file (#3176). Improvements - Moved sentry-cli upload-proguard to sentry-cli proguard upload, aligning the API with...
3.2.3 Unknown Experimental Feature πŸ§‘β€πŸ”¬ (internal-only) - Added experimental sentry-cli build snapshots command to upload build snapshots to a project (#3110). - This command uploads files from a specified directory to Sentry's Objects...
3.2.2 Unknown Fixes - Updated minimatch dependency to fix a vulnerability (#3153)
3.2.1 Unknown Fixes - The dart-symbol-map upload command now correctly resolves the organization from the auth token payload (#3065). - Retry DNS resolution failures for sentry.io requests to reduce intermittent failures for some user...
3.2.0 Unknown Features - Add sourceMaps.inject() for injecting debug IDs (#3088) - Add --install-group parameter to sentry-cli build upload for controlling update visibility between builds (#3094) Fixes - Recognize *.ghe.com URLs as g...
3.1.0 Unknown New Features - In the JavaScript API, added multi-project support to releases.newDeploy() method. This method now accept a projects option (array of project slugs), aligning them with the Rust CLI's multi-project capabil...
3.0.3 Unknown Fixes - Fixed a bug on Intel-based macOS systems that prevented Sentry CLI from respecting self-signed certificates trusted in the macOS keychain (#3059).
3.0.2 Unknown Fixes - Fixed a bug on ARM-based macOS systems that prevented Sentry CLI from respecting self-signed certificates trusted in the macOS keychain (#3057). Versioning Policy Update Our versioning policy has reclassified the...
3.0.1 Unknown Performance Improvements - We switch to a faster compression algorithm (zstd) for uploading size analysis builds (sentry build upload) in preparation for this week's beta release! (#3038)
3.0.0 Unknown New Sentry Support Policy sentry-cli 3.0.0 and above only officially supports Sentry SaaS and Sentry self-hosted versions 25.11.1 and higher. While many Sentry CLI features may, in practice, continue working with some ol...
2.58.4 Unknown Fixes - Use node directly in the postinstall script, instead of using npm run (#3030). This change ensures the postinstall script remains compatible with package managers other than npm.
2.58.3 Unknown Improvements - For the sentry-cli build upload command, we now only auto-detect Git metadata when we detect we are running in a CI environment, unless the user manually overrides this behavior (#2974). This change preven...