Back to the RevenueCat homepage

Monetize your app from the CLI

The CLI for developers and agents to set up and manage RevenueCat. Connect stores, create products, paywalls, and experiments, and look up customers from your terminal.

npx @revenuecat/cli
~/Dev/Cat
rc auth status
Coding agents

Your agent speaks CLI

Every command supports --json and describes itself at runtime, so a caller parses a result rather than scraping formatted text.

Use the CLI from a coding agent
~/Dev/Cat
claude code
  1. Prompt: Log in to RevenueCat and make sure we're working on the Cat project
  2. Tool call: Bash(rc auth login)
    Success: Logged in as Example Developer <dev@example.com>
    Profile: default
  3. Tool call: Bash(rc projects use proj_cat)
    Success: Active project: Cat (proj_cat)
  4. Agent:

    You're signed in and the CLI is pointed at Cat. I'll use this project for everything that follows.

From prompt to production

Watch Claude Code take a project from sign-in to live products using nothing but the RevenueCat CLI.

Developers

Everything from your terminal

Log in, look up customers, connect stores and read your charts without leaving the shell.

See all commands
rc auth login
RevenueCat CLI
Opening your browser to sign in…
If it does not open, visit https://app.revenuecat.com/cli/auth
Success: Logged in as dev@example.com
Success: Default project set to Dipsea (proj_8f2a1d)
Run rc projects use to switch projects

The CLI for agents and developers

Ask your agent to use the RevenueCat CLI to monetize your app. No need to leave your terminal or copy and paste API keys.

npx @revenuecat/cli