---
title: "Commands"
description: "Available commands in the Sentry CLI"
url: "https://cli.sentry.dev/commands/"
---

# Commands

The Sentry CLI provides commands for interacting with various Sentry resources.

## Available Commands

| Command | Description |
| --- | --- |
| [`alert`](https://cli.sentry.dev/commands/alert.md) | Manage Sentry alert rules |
| [`auth`](https://cli.sentry.dev/commands/auth.md) | Authenticate with Sentry |
| [`build`](https://cli.sentry.dev/commands/build.md) | Manage mobile build artifacts |
| [`cli`](https://cli.sentry.dev/commands/cli.md) | CLI-related commands |
| [`code-mappings`](https://cli.sentry.dev/commands/code-mappings.md) | Manage code mappings for stack trace linking |
| [`conversation`](https://cli.sentry.dev/commands/conversation.md) | List and view AI conversations |
| [`dart-symbol-map`](https://cli.sentry.dev/commands/dart-symbol-map.md) | Work with Dart/Flutter symbol maps |
| [`debug-files`](https://cli.sentry.dev/commands/debug-files.md) | Work with debug information files |
| [`dashboard`](https://cli.sentry.dev/commands/dashboard.md) | Manage Sentry dashboards |
| [`org`](https://cli.sentry.dev/commands/org.md) | Work with Sentry organizations |
| [`platform`](https://cli.sentry.dev/commands/platform.md) | List valid Sentry platform identifiers |
| [`project`](https://cli.sentry.dev/commands/project.md) | Work with Sentry projects |
| [`proguard`](https://cli.sentry.dev/commands/proguard.md) | Work with ProGuard/R8 mapping files |
| [`react-native`](https://cli.sentry.dev/commands/react-native.md) | Upload React Native sourcemaps from build steps |
| [`replay`](https://cli.sentry.dev/commands/replay.md) | Search and inspect Session Replays |
| [`release`](https://cli.sentry.dev/commands/release.md) | Work with Sentry releases |
| [`repo`](https://cli.sentry.dev/commands/repo.md) | Work with Sentry repositories |
| [`team`](https://cli.sentry.dev/commands/team.md) | Work with Sentry teams |
| [`issue`](https://cli.sentry.dev/commands/issue.md) | Manage Sentry issues |
| [`event`](https://cli.sentry.dev/commands/event.md) | View, list, and send Sentry events |
| [`explore`](https://cli.sentry.dev/commands/explore.md) | Query aggregate event data (Explore) |
| [`feedback`](https://cli.sentry.dev/commands/feedback.md) | Search and inspect User Feedback |
| [`log`](https://cli.sentry.dev/commands/log.md) | View Sentry logs |
| [`monitor`](https://cli.sentry.dev/commands/monitor.md) | Work with Sentry cron monitors |
| [`snapshots`](https://cli.sentry.dev/commands/snapshots.md) | Manage and compare snapshots |
| [`sourcemap`](https://cli.sentry.dev/commands/sourcemap.md) | Manage sourcemaps |
| [`span`](https://cli.sentry.dev/commands/span.md) | List and view spans in projects or traces |
| [`trace`](https://cli.sentry.dev/commands/trace.md) | View distributed traces |
| [`trial`](https://cli.sentry.dev/commands/trial.md) | Manage product trials |
| [`init`](https://cli.sentry.dev/commands/init.md) | Initialize Sentry in your project (experimental) |
| [`info`](https://cli.sentry.dev/commands/info.md) | Print configuration and verify authentication |
| [`local`](https://cli.sentry.dev/commands/local.md) | Sentry for local development |
| [`api`](https://cli.sentry.dev/commands/api.md) | Make an authenticated API request |
| [`schema`](https://cli.sentry.dev/commands/schema.md) | Browse the Sentry API schema |

## Global Options

All commands support the following global options:

- `--help` - Show help for the command
- `--version` - Show CLI version
- `--log-level <level>` - Set log verbosity (`error`, `warn`, `log`, `info`, `debug`, `trace`). Overrides `SENTRY_LOG_LEVEL`
- `--verbose` - Shorthand for `--log-level debug`

## JSON Output

Most list and view commands support `--json` flag for JSON output, making it easy to integrate with other tools:

```bash
sentry org list --json | jq '.[] | .slug'
```


## Opening in Browser

View commands support `-w` or `--web` flag to open the resource in your browser:

```bash
sentry issue view PROJ-123 -w
```

## Navigation

- [Docs home](https://cli.sentry.dev/index.md)
- [Previous: Agent Guidance](https://cli.sentry.dev/agent-guidance.md)
- [Next: Exit Codes](https://cli.sentry.dev/exit-codes.md)

## Pages in this section

- [alert](https://cli.sentry.dev/commands/alert.md)
- [api](https://cli.sentry.dev/commands/api.md)
- [auth](https://cli.sentry.dev/commands/auth.md)
- [build](https://cli.sentry.dev/commands/build.md)
- [cli](https://cli.sentry.dev/commands/cli.md)
- [code-mappings](https://cli.sentry.dev/commands/code-mappings.md)
- [conversation](https://cli.sentry.dev/commands/conversation.md)
- [dart-symbol-map](https://cli.sentry.dev/commands/dart-symbol-map.md)
- [dashboard](https://cli.sentry.dev/commands/dashboard.md)
- [debug-files](https://cli.sentry.dev/commands/debug-files.md)
- [event](https://cli.sentry.dev/commands/event.md)
- [explore](https://cli.sentry.dev/commands/explore.md)
- [feedback](https://cli.sentry.dev/commands/feedback.md)
- [info](https://cli.sentry.dev/commands/info.md)
- [init](https://cli.sentry.dev/commands/init.md)
- [issue](https://cli.sentry.dev/commands/issue.md)
- [local](https://cli.sentry.dev/commands/local.md)
- [log](https://cli.sentry.dev/commands/log.md)
- [monitor](https://cli.sentry.dev/commands/monitor.md)
- [org](https://cli.sentry.dev/commands/org.md)
- [platform](https://cli.sentry.dev/commands/platform.md)
- [proguard](https://cli.sentry.dev/commands/proguard.md)
- [project](https://cli.sentry.dev/commands/project.md)
- [react-native](https://cli.sentry.dev/commands/react-native.md)
- [release](https://cli.sentry.dev/commands/release.md)
- [replay](https://cli.sentry.dev/commands/replay.md)
- [repo](https://cli.sentry.dev/commands/repo.md)
- [schema](https://cli.sentry.dev/commands/schema.md)
- [snapshots](https://cli.sentry.dev/commands/snapshots.md)
- [sourcemap](https://cli.sentry.dev/commands/sourcemap.md)
- [span](https://cli.sentry.dev/commands/span.md)
- [team](https://cli.sentry.dev/commands/team.md)
- [trace](https://cli.sentry.dev/commands/trace.md)
- [trial](https://cli.sentry.dev/commands/trial.md)
