RevenueCat CLI
$ rc Official High RiskRevenueCat CLI (rc / @revenuecat/cli) manages RevenueCat projects, apps, offerings, packages, entitlements, and customer records from a native Go binary. Purpose-built for AI coding agents with --json, --no-input, --yes, built-in --format jq filtering, and dedicated coding-agent documentation.
brew install RevenueCat/tap/rc rc ships as a fast native Go binary (or npx @revenuecat/cli) with --json, --no-input, and built-in --format jq projection tailored specifically for coding agents.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Purpose-built for coding agents with --json, --no-input fail-fast mode, built-in --format jq expressions, and RC_API_KEY.
--jsonand--no-inputprevent interactive hangs and stabilize schemas- Built-in
--format <expr>filters JSON natively
Requires --yes to bypass destructive confirmations and supports --project-id and --profile scoping, though subscription edits impact live mobile apps.
- Destructive commands gate on confirmation unless
--yesis passed - Official RevenueCat Coding Agents guide documents safe flags
Distributed via Homebrew (RevenueCat/tap/rc), npm/npx (@revenuecat/cli), and native Go binaries for macOS, Linux, and Windows.
- Zero-install
npx @revenuecat/cliandbrew install RevenueCat/tap/rc
Covers apps, offerings, packages, entitlements, paywalls, and customers cleanly from one binary.
- Replaces manual dashboard clicks for mobile subscription configuration
Official RevenueCat repository (RevenueCat/cli) under MIT license.
- First-party RevenueCat open-source CLI
Dedicated CLI command reference and coding-agent guide on revenuecat.com/docs/tools/cli/agents.
- Official command reference and agent integration docs
Security, Auth & Guardrails
Stores multi-profile API keys locally in RevenueCat CLI config (--profile), or reads RC_API_KEY and RC_PROFILE environment variables for CI and agent sandboxes.
MIT open-source CLI; RevenueCat offers a free tier up to revenue thresholds and paid plans beyond.
# RevenueCat CLI (rc) Agent Rules - Always pass `--json --no-input` so missing flags fail immediately instead of blocking on prompts. - Authenticate via `RC_API_KEY` and scope mutations with explicit `--project-id`. - Never pass `--yes` on delete or entitlement-revoking commands without explicit user confirmation.
Agent-Ready Command Recipes
Safe Read-Only Queries
rc projects list --json --no-input
Lists accessible RevenueCat projects with strict JSON output and fail-fast non-interactive behavior.
rc offerings list --project-id <project_id> --json --no-input --format '.items[].lookup_key'
Extracts offering lookup keys directly using the built-in --format filter without piping to external jq.
Controlled Writes & Previews
rc entitlements create --project-id <project_id> --lookup-key pro --display-name "Pro" --json --no-input
Creates a new entitlement non-interactively and returns the created JSON resource.
Strengths for Agents
- +
--json --no-inputplus built-in--formatjq expressions makercexceptionally agent-ready. - + Available both as a native Go binary via Homebrew and via
npx @revenuecat/cli.
Caveats & Pitfalls
- ! No global
--dry-runflag across write commands; mutations apply immediately to the target--project-id. - ! Modifying live offerings or entitlements can directly affect active mobile app paywalls.