Manage subscriptions from your terminal
A command-line tool for developers and coding agents to connect stores, sync product catalogs, create paywalls and experiments, look up customers, and review charts — without leaving the shell or pasting API keys into scripts.
Install, sign in, and pick a project
Install with npx for a quick run, npm for a global install, or Homebrew on macOS. Sign in once with rc auth login — in a browser, or by pasting an API key where no browser is available — then point the CLI at a project with rc projects use. From there, store connection, catalog sync, paywalls, experiments, and customer lookup all run from the same terminal session.
A five-step workflow from prompt to production
A typical flow starts with sign-in and project selection, then connects App Store Connect through a guided setup that creates and uploads keys and the vendor number. Next, sync a product catalog from a file: the CLI loads the desired state, shows a reviewable plan listing creates and modifications, asks for confirmation, applies it, and verifies store readiness. The same session can then fix a customer's subscription or check MRR, revenue, and trials.
Why agents can drive it
Because every command supports --json and describes itself at runtime, a coding agent can call a command, parse the result, and decide the next step without scraping human-formatted text. In practice that means an agent can log in, select the active project, and confirm which project it will use for everything that follows — all through ordinary shell tool calls.
Everyday commands
Use rc customers show to inspect a customer's entitlements and latest transactions, rc setup apple for guided App Store Connect setup, and rc charts show for MRR, revenue, and trials as an interactive chart in the shell. Add --json to any of these when scripting. Note that sandbox purchases can take up to 5 minutes to appear in charts.
| Command | What it does | Use it when |
|---|---|---|
| rc auth login | Signs in via browser or pasted API key and sets the default project | Starting a new session |
| rc customers show cus_abc | Shows entitlements and latest transactions for a customer | Investigating a subscription issue |
| rc setup apple app_abc | Creates and uploads App Store Connect keys and vendor number | Connecting a new iOS app |
| rc charts show mrr | Shows MRR, revenue, or trials as an interactive chart | Checking performance in the shell |
Example IDs and values are illustrative captured examples, not live account data.
Frequently asked questions
How do I install the CLI?
Choose npx for a one-off run, a global npm install for repeated use, or Homebrew on macOS. The install selector provides the exact command for each method.
How does sign-in work without copying an API key into scripts?
Sign in with rc auth login, which opens a browser, or paste an API key when no browser is available. Then select the active project so later commands act on the intended account.
Can a coding agent parse CLI output reliably?
Yes. Every command supports --json and describes itself at runtime, so an agent or script can parse structured output instead of scraping formatted text.
What can I check from the terminal after setup?
Use rc customers show with a customer ID to see active entitlements and latest transactions, and rc charts show to read MRR, revenue, or trials in the shell.