RevenueCat should work wherever you build. For a growing number of you, and for your coding agents, that's the terminal.

Today we're releasing the RevenueCat CLI. It brings the work you'd do in the dashboard, from setting up a new app to managing customers, into the terminal. The CLI joins the AI Toolkit, RevenueCat's set of tools for working with AI agents.

Prefer to watch first? This is the CLI in action.

Install

npm

npm install -g @revenuecat/cli

Homebrew (macOS / Linux)

brew install RevenueCat/tap/rc

Then sign in with rc auth login, or create an account with rc auth signup if you don't have one yet.

A few highlights

The commands below are a few of our favorites, not the full list.

New app? One command sets it up

Run rc setup in your app's folder. It finds the coding agents installed on your machine, like Claude Code or Codex, and hands one of them the job of setting up RevenueCat for your app.

The agent creates the project, the products, an entitlement (what a purchase unlocks), an offering (what the paywall shows), a paywall, and the SDK integration, all in Test Store, RevenueCat's sandbox. When it's done, you can open the app, see the paywall, make a test purchase, and watch the entitlement unlock.

When you're ready for the App Store, one more command connects it:

rc setup apple app_x

It signs you in with your Apple Account, creates the App Store Connect API key and the in-app purchase key, and uploads both straight to RevenueCat.

Sync products with the stores

A 'product' here refers to something a user can buy in your app, like a monthly or an annual subscription. Create them from the terminal and sync them to App Store Connect or Google Play.

rc products create --store-id premium_annual --type subscription \
  --app-id app_x --title "Premium Annual" --duration P1Y
rc products store sync app_x

rc products store sync creates and updates your products in App Store Connect or Google Play Console, so you never have to open either.

Build a paywall from a prompt, then send Apple the screenshot

Describe the paywall you want and the CLI builds it with the RevenueCat Paywalls AI Editor. Attach a screenshot or a style guide to steer the design.

rc paywalls generate --prompt "A calm annual-first paywall"

It creates a draft. Pass --offering-id to attach it to an offering. When the design is ready, hand Apple the screenshot App Review asks for.

rc products store screenshot prod_abc --file paywall.png

The image goes straight to App Store Connect as the product's review screenshot.

Manage customers

Look up a customer, give them access to a feature, refund a payment, or move their purchases to another account. All you need is their customer ID.

rc customers show cus_abc
rc customers grant cus_abc pro --duration monthly
rc subscriptions refund sub_x
rc customers transfer cus_old --to cus_new

show puts the customer, their subscriptions, and their purchases in one view.

When you need the dashboard anyway, rc open customers cus_abc jumps straight to that customer's page. Add --print to get the link without opening a browser, ready to drop into a support ticket or a Slack thread.

Ask Rico from the terminal

Rico, RevenueCat's AI agent, answers questions about your metrics and configuration and can change your setup for you.

rc rico "why did trial conversions drop this week?"

Give your agent the skills

Skills are short playbooks that teach your coding agent how to work with RevenueCat. rc skills install adds them to Claude Code, Codex, Cursor, Gemini CLI, and GitHub Copilot.

rc skills install

Built for you and your agent

In a terminal you get readable output. Add --json and the same command returns structured output an agent can parse. That includes the CLI itself. Ask it what it can do and it answers in JSON.

rc commands --json

Every prompt is also a flag or an environment variable. --json returns a stable schema, --format trims the response to the fields an agent needs.

Explore the other 150+ commands

These were a few of our favorites. rc --help lists every command group, rc commands --json prints the full tree, and the command reference in the docs covers each one.

There are commands for entitlements, offerings, experiments, charts, webhooks, and everything else in the dashboard.

For anything without a command yet, rc api sends a raw request to the v2 REST API with your credentials attached. The CLI talks to the same API as the dashboard, so anything you do in one shows up in the other.

Install the CLI

npm install -g @revenuecat/cli

New app? Run rc setup. Existing app? Run rc auth login. The docs cover every command, and the source is on GitHub, MIT licensed.