Developer CLI

Quickstart guide

Set up your Adapty account end-to-end using the Developer CLI — from app creation to a live placement, in a few commands.

Authentication

How to authenticate with the Adapty Developer CLI.

Command reference

Index of the Adapty Developer CLI commands by topic, with the global flags, pagination flags, the version command, and the command that installs the Adapty skills.

Analytics

Read Adapty Analytics from the terminal: charts such as revenue and MRR, conversions, the funnel, retention, LTV, and install cohorts, as a table, JSON, or CSV.

A/B tests

Create, start, stop, replace, and archive paywall and flow A/B tests from the terminal with the Adapty CLI, read their results, and see the exact effect before each step that can't be undone.

Ads Manager

Run Apple Ads campaigns, keywords, and automation rules from the terminal with the Adapty Developer CLI.

Attribution

Read Adapty Attribution reports from the terminal: spend, installs, revenue, ROAS, cohorts, and predictions by channel, campaign, ad, country, and date.

Retention Messaging

Set up Apple Retention Messaging from the terminal with the Adapty CLI: connect the realtime URL, run the performance test, create, change, activate, and deactivate retention messages, and read their metrics.

Refund Saver

Adapty CLI commands that 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

Manage virtual currencies from the terminal with the Adapty CLI: list and create currencies, change how many credits each product grants, read the credit transactions and balances of an app or of one user, and correct the balance of one user.

Migrate from RevenueCat

Migrate from RevenueCat to Adapty: move your catalog and app code with the Adapty CLI, switch store notifications, and import your transaction history.

The Adapty Developer CLI is a command-line tool for managing your Adapty account without opening the Dashboard. It provides the main configuration capabilities, accessible from your terminal or automated environments.

Work from a chat instead of a terminal.

The Adapty MCP server gives the Claude app, Claude Code, Codex, and other MCP clients access to the same account. You sign in once in the browser, and there is nothing to install.

Connect the Adapty MCP server

What you can do with the CLI:

  • Create and configure iOS and Android apps in your Adapty account
  • Define access levels — the subscription tiers your app checks at runtime
  • Set up products and map them to App Store and Google Play store IDs
  • Link store offers, Google Play free trials included, to products — see Product offers in the command reference
  • Create paywalls and assign products to them
  • Create flows, write their builder configs, and publish them — see Flows in the command reference
  • Configure placements to fetch paywalls or flows via the SDK
  • Read your app’s analytics — revenue, MRR, conversions, the funnel, retention, LTV, and cohorts — through Analytics
  • Create, start, stop, and replace paywall and flow A/B tests through A/B tests
  • Run Apple Ads campaigns, keywords, and automation rules through Ads Manager
  • Read Adapty Attribution reports — spend, installs, revenue, and ROAS by channel and campaign — through Attribution
  • Set up Apple Retention Messaging, and create, change, and activate the retention messages that subscribers see when they cancel, through Retention Messaging
  • Turn on Refund Saver, set its refund preferences, and read what it saved, through Refund Saver
  • Create virtual currencies, set how many credits each product grants, and read the credit transactions and balances of your users through Virtual currencies
  • Migrate a RevenueCat project — its catalog, paywall designs, app code, and transaction history — see Migration from RevenueCat
  • Install the Adapty skills into your coding agents with adapty skills install — see Skills in the command reference