Sentry Prevent CLI

Learn how to use the Sentry Prevent CLI to upload test results to Sentry.

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").