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.

TopicCommandsWhat they do
Apps and access levelsapps, access-levelsCreate and configure apps and the subscription tiers your app checks
Products and offersproducts, product-offersSet up products, map them to App Store and Google Play product IDs, and link store offers to them
PaywallspaywallsCreate paywalls, assign products to them, and read their metrics
Flowsflows, fontsCreate 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 segmentsplacements, segmentsConfigure placements, their audiences, and the segments the audiences target. Read the metrics of flow and paywall placements
AnalyticsanalyticsRead charts, conversions, the funnel, retention, LTV, and cohorts
A/B testsab-testsCreate, start, stop, replace, and archive paywall and flow A/B tests, and read their results
AttributionattributionRead spend, installs, revenue, and ROAS by channel and campaign
Ads ManagerasaRun Apple Ads campaigns, keywords, and automation rules
Retention Messagingretention-messagingConnect Apple Retention Messaging, run the performance test, create, change, activate, and deactivate retention messages, and read their metrics
Refund Saverrefund-saverTurn 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 currenciesvirtual-currenciesCreate 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
FallbacksfallbacksDownload the fallback file your app bundles for when it can’t reach Adapty
MigrationsmigrationsMove a RevenueCat project to Adapty
AuthenticationauthLog in, check, and revoke your CLI session

Global flags

These flags are available on all commands.

FlagDescription
--jsonOutput as JSON instead of formatted text
--helpShow 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:

FlagDefaultDescription
--page1Page number
--page-size20Items 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 version

The 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:

FieldDescription
installedInstalled CLI version
latestLatest version on npm, or null when the registry doesn’t answer in time
update_availabletrue 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
FlagRequiredDescription
--agentNoAgent to install into: claude-code, codex, or gemini-cli. Repeat the flag for several agents.
-y, --yesNoInstall 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.