Files
2026-05-20 11:11:09 +01:00

2.0 KiB

name, version, description, requires
name version description requires
sentry-cli-project 0.33.0 Work with Sentry projects
bins auth
sentry
true

Project Commands

Work with Sentry projects

sentry project create <name> <platform>

Create a new project

Flags:

  • -t, --team <value> - Team to create the project under
  • -n, --dry-run - Show what would happen without making changes

Examples:

# Create a new project
sentry project create my-new-app javascript-nextjs

# Create under a specific org and team
sentry project create my-org/my-new-app python --team backend-team

# Preview without creating
sentry project create my-new-app node --dry-run

sentry project delete <org/project>

Delete a project

Flags:

  • -y, --yes - Skip confirmation prompt
  • -f, --force - Force the operation without confirmation
  • -n, --dry-run - Show what would happen without making changes

Examples:

# Delete a project (will prompt for confirmation)
sentry project delete my-org/old-project

# Delete without confirmation
sentry project delete my-org/old-project --yes

sentry project list <org/project>

List projects

Flags:

  • -n, --limit <value> - Maximum number of projects to list - (default: "25")
  • -p, --platform <value> - Filter by platform (e.g., javascript, python)
  • -f, --fresh - Bypass cache, re-detect projects, and fetch fresh data
  • -c, --cursor <value> - Navigate pages: "next", "prev", "first" (or raw cursor string)

sentry project view <org/project>

View details of a project

Flags:

  • -w, --web - Open in browser
  • -f, --fresh - Bypass cache, re-detect projects, and fetch fresh data

Examples:

# List all projects in an org
sentry project list my-org/

# Filter by platform
sentry project list my-org/ --platform javascript

# View project details
sentry project view my-org/frontend

# Open project in browser
sentry project view my-org/frontend -w

All commands also support --json, --fields, --help, --log-level, and --verbose flags.