Command reference for the Adapty Developer CLI
The Adapty CLI groups its commands by topic, such as products or placements. Each topic has its own page with its commands, arguments, flags, and accepted values. This page lists the topics, the flags that every command accepts, the command that prints your CLI version, and the command that installs the Adapty skills.
| Topic | Commands | What they do |
|---|---|---|
| Apps and access levels | apps, access-levels | Create and configure apps and the subscription tiers your app checks |
| Products and offers | products, product-offers | Set up products, map them to App Store and Google Play product IDs, and link store offers to them |
| Paywalls | paywalls | Create paywalls, assign products to them, and read their metrics |
| Flows | flows, fonts | Create flows, write and validate their builder configs, upload the custom fonts they use, publish them, restore earlier versions, duplicate them, and read their metrics and screen funnel |
| Placements and segments | placements, segments | Configure placements, their audiences, and the segments the audiences target. Read the metrics of flow and paywall placements |
| Analytics | analytics | Read charts, conversions, the funnel, retention, LTV, and cohorts |
| A/B tests | ab-tests | Create, start, stop, replace, and archive paywall and flow A/B tests, and read their results |
| Attribution | attribution | Read spend, installs, revenue, and ROAS by channel and campaign |
| Ads Manager | asa | Run Apple Ads campaigns, keywords, and automation rules |
| Retention Messaging | retention-messaging | Connect Apple Retention Messaging, run the performance test, create, change, activate, and deactivate retention messages, and read their metrics |
| Refund Saver | refund-saver | Turn Refund Saver on and off, set the refund preference of each store and of one profile, verify each store’s keys, and read the refund requests and savings |
| Virtual currencies | virtual-currencies | Create virtual currencies, change how many credits each product grants, read the credit transactions and balances of an app or a user, and correct the balance of a user |
| Fallbacks | fallbacks | Download the fallback file your app bundles for when it can’t reach Adapty |
| Migrations | migrations | Move a RevenueCat project to Adapty |
| Authentication | auth | Log in, check, and revoke your CLI session |
Global flags
These flags are available on all commands.
| Flag | Description |
|---|---|
--json | Output as JSON instead of formatted text |
--help | Show command help |
All list commands except adapty product-offers list, adapty flows versions list, and the two transaction lists of adapty virtual-currencies also accept pagination flags:
| Flag | Default | Description |
|---|---|---|
--page | 1 | Page number |
--page-size | 20 | Items per page (max: 100) |
adapty virtual-currencies transactions list and adapty virtual-currencies profiles transactions list read one page for each command with a cursor: they take --page-size and --cursor, not --page. See Read credit transactions.
CLI version
adapty version
Print the installed version of the CLI and see whether a newer version is out.
adapty versionThe command prints the same line as adapty --version, then asks the public npm registry for the latest version, with a 3-second time limit. When a newer version is out, the command prints it with the update command, npm i -g adapty@latest. When the registry doesn’t answer in time, the command prints Could not check for a newer version. and still exits with code 0.
With --json, the output has these fields:
| Field | Description |
|---|---|
installed | Installed CLI version |
latest | Latest version on npm, or null when the registry doesn’t answer in time |
update_available | true when latest is newer than installed, otherwise false |
The command needs CLI version 0.26.1 or later. On a version before 0.26.1, run adapty --version.
Skills
adapty skills install
Install the Adapty skills into the coding agents on this machine.
adapty skills install| Flag | Required | Description |
|---|---|---|
--agent | No | Agent to install into: claude-code, codex, or gemini-cli. Repeat the flag for several agents. |
-y, --yes | No | Install into every agent found without asking. Required when the CLI finds several agents and can’t ask, for example with --json. |
The CLI looks for Claude Code, Codex, and Gemini CLI on PATH. If it finds none, it asks whether to run npx skills@1.7.0 add adaptyteam/adapty-skills --all --global, which covers other agents. Restart the agent to load the skills.
Claude Code doesn’t update the plugin on its own. To get new skills as they ship, in Claude Code, run /plugin, open Marketplaces, select adapty, and choose Enable auto-update. To turn it on without the menu, add "autoUpdate": true to the adapty entry in ~/.claude/settings.json:
{
"extraKnownMarketplaces": {
"adapty": {
"source": { "source": "github", "repo": "adaptyteam/adapty-skills" },
"autoUpdate": true
}
}
}Skills installed through the skills CLI update with npx skills update. For Codex, see the plugin README.