rcat is an unofficial CLI for RevenueCat's REST API v2, enabling mobile developers to manage subscriptions, entitlements, offerings, customers, and analytics from the terminal. Version 0.1.20 targets Node.js >=16 and ships TypeScript declarations. Unlike the RevenueCat dashboard or SDKs, rcat provides a scriptable, terminal-based interface for common tasks like customer lookup, offering management, and revenue charting. It uses persistent config or environment variables for API v2 secret keys (sk_) and supports JSON output for integration with jq and CI/CD pipelines. Release cadence is irregular; breaking changes may occur before 1.0.
npm install revenuecat-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures authentication, lists offerings, retrieves a customer, and displays revenue overview.
Generate a secret key from RevenueCat Dashboard > Project Settings > API Keys.
Upgrade to Node.js >=16.
Use `rcat configure clear` to remove stored credentials.
Unset environment variables if you intend to use persistent config.
Ensure you are using RevenueCat API v2 and refer to its docs.
Run `rcat configure --api-key sk_...` with a valid secret key from RevenueCat dashboard.
Check internet connection and firewall settings. Ensure api.revenuecat.com is reachable.
Install globally: `npm install -g revenuecat-cli`
Use sudo: `sudo npm install -g revenuecat-cli` or configure npm prefix for your user.