browse
Download binary →
sentry-cli/Sentry CLI
SentryManage Sentry releases, upload sourcemaps, and track deployments from the command line.
Collaboration & Productivity
01Agent Notes
sentry-cli manages releases and sourcemaps. `sentry-cli releases new <version>` and `sentry-cli releases finalize <version>` for release management. `sentry-cli sourcemaps upload` for uploading sourcemaps. Use SENTRY_ORG and SENTRY_PROJECT env vars or --org/--project flags to scope commands.
02Help Output
Command line utility for Sentry.
This tool helps you manage remote resources on a Sentry server like
sourcemaps, debug symbols or releases. Use `--help` on the subcommands
to learn more about them.
Usage: sentry-cli [OPTIONS] <COMMAND>
Commands:
completions Generate completions for the specified shell.
build Manage builds.
debug-files Locate, analyze or upload debug information files. [aliases: dif]
deploys Manage deployments for Sentry releases.
events Manage events on Sentry.
info Print information about the configuration and verify authentication.
issues Manage issues in Sentry.
login Authenticate with the Sentry server.
logs [BETA] Manage logs in Sentry
monitors Manage cron monitors on Sentry.
organizations Manage organizations on Sentry.
proguard Manage ProGuard mapping files.
projects Manage projects on Sentry.
react-native Upload build artifacts for react-native projects.
releases Manage releases on Sentry.
repos Manage repositories on Sentry.
send-event Send a manual event to Sentry.
send-envelope Send a stored envelope to Sentry.
sourcemaps Manage sourcemaps for Sentry releases.
dart-symbol-map Manage Dart/Flutter symbol maps for Sentry.
uninstall Uninstall the sentry-cli executable.
upload-proguard Upload ProGuard mapping files to a project.
help Print this message or the help of the given subcommand(s)
Options:
--url <URL> Fully qualified URL to the Sentry server.
[default: https://sentry.io/]
--header <KEY:VALUE> Custom headers that should be attached to all requests
in key:value format.
--auth-token <AUTH_TOKEN> Use the given Sentry auth token.
--log-level <LOG_LEVEL> Set the log output verbosity. [possible values: trace, debug, info,
warn, error]
--quiet Do not print any output while preserving correct exit code. This
flag is currently implemented only for selected subcommands.
[aliases: --silent]
-h, --help Print help
-V, --version Print version
03Authentication
Methods
access-token
Env vars
SENTRY_AUTH_TOKENSENTRY_ORGSENTRY_PROJECTSetup
sentry-cli login04Install
brew install getsentry/tools/sentry-cli05Capabilities
Reference
binary
sentry-clicheck
sentry-cli --versionauth
access-tokenformats
textversion
3.3.3