sentry cli upgrade --checkInstallation method: curl
Current version: 0.4.0
Channel: stable
Latest version: 0.5.0
Run 'sentry cli upgrade' to update.
# Upgrade to latest stable
sentry cli upgrade
# Upgrade to a specific version
sentry cli upgrade 0.5.0
# Force re-download
sentry cli upgrade --force# Switch to nightly builds
sentry cli upgrade nightly
# Switch back to stable
sentry cli upgrade stableAfter switching, bare sentry cli upgrade will continue tracking that channel.
| Channel | Description |
|---|---|
stable |
Latest stable release (default) |
nightly |
Built from main, updated on every commit |
The CLI detects how it was installed and uses the appropriate upgrade method:
| Method | Detection |
|---|---|
| curl | Binary in ~/.sentry/bin (installed via cli.sentry.dev) |
| brew | Binary in a Homebrew Cellar (brew install getsentry/tools/sentry) |
| npm | Globally installed via npm install -g sentry |
| pnpm | Globally installed via pnpm add -g sentry |
| bun | Globally installed via bun install -g sentry |
Nightly builds are only available as standalone binaries (via the curl install method). Switching to nightly from a package manager install will automatically migrate to a standalone binary.
# Send positive feedback
sentry cli feedback i love this tool
# Report an issue
sentry cli feedback the issue view is confusingFeedback is sent via Sentry's telemetry system. If telemetry is disabled (SENTRY_CLI_NO_TELEMETRY=1), feedback cannot be sent.
sentry cli fix# Run full setup (PATH, completions, agent skills)
sentry cli setup
# Skip agent skill installation
sentry cli setup --no-agent-skills
# Skip PATH and completion modifications
sentry cli setup --no-modify-path --no-completions# Show all current defaults
sentry cli defaults
# Set default organization
sentry cli defaults org my-org
# Set default project
sentry cli defaults project my-project
# Set Sentry URL (self-hosted)
sentry cli defaults url https://sentry.example.com
# Disable telemetry
sentry cli defaults telemetry off
# Clear a specific default
sentry cli defaults org --clear
# Clear all defaults (with confirmation)
sentry cli defaults --clearSee Configuration for more details on defaults.
# Scan for and import legacy .sentryclirc settings
sentry cli import
# Preview what would be imported
sentry cli import --dry-run
# Skip confirmation prompts
sentry cli import --yes
# Trust a specific self-hosted URL during import
sentry cli import --url https://sentry.example.com
# Skip API validation of the imported token
sentry cli import --skip-validation