Sentry Prevent CLI
Learn how to use the Sentry Prevent CLI to upload test results to Sentry.
While the snippets below can be used to download and use the CLI directly, it is highly recommended to perform signature and SHASUM verification to ensure integrity of the CLI before use. See Integrity Checking the Uploader below for more information.
For Python
, install the Sentry Prevent CLI using pip install sentry-prevent-cli
. You need to have Python3
as the default.
Copied
pip install sentry-prevent-cli
For binary platforms
, use the following commands to download the latest version of the Sentry Prevent CLI.
Copied
curl -L https://github.com/getsentry/sentry-prevent-cli/releases/latest/download/sentry-prevent-cli-macos -o sentry-prevent-cli
chmod +x sentry-prevent-cli
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").