---
title: "Introducing the RevenueCat CLI"
description: "Set up, manage, and run your app from the terminal. For you and your coding agent."
language: "en"
publishedAt: "2026-11-24T13:02:29Z"
updatedAt: "2026-11-24T13:02:29Z"
authors:
  - name: "Niklas Winkels"
    url: "https://www.revenuecat.com/blog/author/niklas-winkels"
category: "Company"
categoryUrl: "https://www.revenuecat.com/blog/company"
canonical: "https://www.revenuecat.com/blog/company/introducing-the-revenuecat-cli"
---

# Introducing the RevenueCat CLI

Set up, manage, and run your app from the terminal. For you and your coding agent.

## Table of contents

- [Install](#install)
- [A few highlights](#a-few-highlights)
  - [New app? One command sets it up](#new-app-one-command-sets-it-up)
  - [Sync products with the stores](#sync-products-with-the-stores)
  - [Build a paywall from a prompt, then send Apple the screenshot](#build-a-paywall-from-a-prompt-then-send-apple-the-screenshot)
  - [Manage customers](#manage-customers)
  - [Ask Rico from the terminal](#ask-rico-from-the-terminal)
  - [Give your agent the skills](#give-your-agent-the-skills)
- [Built for you and your agent](#built-for-you-and-your-agent)
- [Explore the other 150+ commands](#explore-the-other-150-commands)
- [Install the CLI](#install-the-cli)

The RevenueCat CLI brings RevenueCat to the terminal, built for you and for your coding agent. It covers the product end to end with 162 commands. Create an account, connect App Store Connect, build a paywall from a prompt, sync products to the stores, or manage customers without opening a browser. It's available today.

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](https://www.revenuecat.com/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](https://www.revenuecat.com/feature/ai-toolkit), RevenueCat's set of tools for working with AI agents.

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

[Video](https://youtu.be/hQjqWJG3Gzw)

## Install

npm

```bash
npm install -g @revenuecat/cli
```

Homebrew (macOS / Linux)

```bash
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:

```bash
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.

![Terminal recording of rc setup: it checks the project, asks which coding agent should run the setup, installs the RevenueCat skills, and launches Claude Code](https://cdn.sanity.io/images/c3qnx9b0/production/7590acb3a64e7db2a9d658e3ba54b60df5fedf92-1280x720.gif)

### 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.

```bash
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.

![Terminal recording of rc products store sync: it saves a plan, lists what changes for each product, and warns about a missing App Review note](https://cdn.sanity.io/images/c3qnx9b0/production/492260ef9e7358c5934ef6334adfc03bcded22bb-1280x720.gif)

### 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.

```bash
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.

```bash
rc products store screenshot prod_abc --file paywall.png
```

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

![Terminal recording of rc paywalls generate: the Paywalls AI Editor builds the paywall, generates an image, edits the layout, checks App Store compliance, and saves the draft](https://cdn.sanity.io/images/c3qnx9b0/production/0d0511bc384b35dddffb7fe0d21d3f423f5279c4-1280x720.gif)

### 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.

```bash
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.

![Terminal recording of rc customers show: one customer with their active entitlements, subscriptions, and purchases in a single view](https://cdn.sanity.io/images/c3qnx9b0/production/e4d1e776a34971bd66566438c0ddda2e8cab19d0-1280x720.gif)

### Ask Rico from the terminal

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

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

![Terminal recording of rc rico: Rico checks the current offering and the App Store Connect keys, then answers in plain language](https://cdn.sanity.io/images/c3qnx9b0/production/4c1ce4e412dfc67550dfd891b5c4857ef1521c1d-1280x720.gif)

### 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.

```bash
rc skills install
```

![Terminal recording of rc skills install: the RevenueCat skills are installed for every coding agent on the machine](https://cdn.sanity.io/images/c3qnx9b0/production/039a4154d92e4571fc31656bee999896289f9bb8-1280x720.gif)

## 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.

```bash
rc commands --json
```

![Terminal recording of rc commands --json: the full list of CLI commands printed as JSON](https://cdn.sanity.io/images/c3qnx9b0/production/f76e4036860989349a431f2616cbf467aedb8640-1280x720.gif)

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](https://www.revenuecat.com/docs/tools/cli/commands) 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

```bash
npm install -g @revenuecat/cli
```

New app? Run `rc setup`. Existing app? Run `rc auth login`. The [docs](https://www.revenuecat.com/docs/tools/cli) cover every command, and the source is on [GitHub](https://github.com/RevenueCat/cli), MIT licensed.
