# Sentry CLI Documentation
The CLI lives in `packages/cli/`. Its published user guide and command reference
are at . The site source lives in `apps/cli-docs/`, and
CLI releases build it from that workspace. Start here for repository guides:
- [Getting started](../../apps/cli-docs/src/content/docs/getting-started.mdx),
[features](../../apps/cli-docs/src/content/docs/features.md), and
[self-hosted use](../../apps/cli-docs/src/content/docs/self-hosted.md) —
hand-written user guides.
- [Contributing to the CLI](../../apps/cli-docs/src/content/docs/contributing.md)
— setup, generated project layout, testing, and builds.
- [CLI development notes](../../packages/cli/DEVELOPMENT.md) and
[command conventions](../../packages/cli/CONTRIBUTING.md) — implementation
details and command design.
- [CLI build workflow](../../.github/workflows/cli-build.yml) and
[release configuration](../../.craft.yml) — binaries, npm packaging, and
release-gated website artifacts.
- [CLI nightly watchdog](../../.github/workflows/cli-nightly-watchdog.yml) —
hourly and after each main Build, checks for stuck or failed Build runs and a
GHCR `nightly` that lags main. It keeps one open alert issue while unhealthy,
closes it on recovery, and posts both to Slack when the
`CLI_NIGHTLY_ALERT_SLACK_WEBHOOK_URL` secret is set.
- [CLI AGENTS.md](../../packages/cli/AGENTS.md) — package-specific coding and
testing rules.
- [CLI docs fragments](../../apps/cli-docs/src/fragments/commands/index.md)
— hand-written additions to generated command pages. Command metadata and
examples belong to the commands; the generated pages are not checked in.
- [CLI overview](../../packages/cli/README.md) — installation, supported
platforms, and library use.
Run CLI commands from `packages/cli/` or use `pnpm --filter sentry run