Whop CLI is the official command-line tool for the Whop API. Manage products, payments, payouts, ads and stats, deploy apps, and automate with AI agents.
Researched and fact-checked by Bartu Cavusoglu · Updated November 29, 2026
Whop CLI is the official command-line interface for Whop, the commerce platform for creators and businesses. It puts the Whop API behind a single binary called whop, so you can manage products, memberships, payments, payouts, ads and analytics, and deploy Whop apps, from a terminal. The site describes it as a tool "for creators who script, developers who automate, and the agents coming next."
Who it is for
The CLI suits three kinds of users. Developers building on Whop can script routine work and deploy apps without leaving the terminal. Creators and operators who run a Whop business can pull stats or create checkout configurations with one command instead of clicking through the dashboard. Teams running AI coding or automation agents can give an agent a scoped API key and let it act on their Whop account through predictable, machine-readable commands.
How it works
You install the CLI with a one-line script on macOS or Linux, a PowerShell installer on Windows, Homebrew, or npm (Node.js 22 or newer). You then sign in with whop login, using browser OAuth or an API key, and can keep several profiles and switch between them. For CI pipelines and scripts, setting the WHOP_API_KEY environment variable skips the login step. Commands follow a consistent pattern of whop, a resource name and an action such as list, get, create or update. Examples from the docs include whop products list, whop checkout-configurations create and whop stats time-series get net_revenue with a date range.
Key capabilities
The docs describe about 80 command groups organized by area, including commerce, payments, money, ads, analytics and developer tools. Resources covered include products, variants, promo codes, memberships, shipments, reviews, payments, invoices, refunds, disputes, deposits, transfers, payouts, ads and audiences, analytics, webhooks and API keys. Every command accepts a JSON output flag, which makes results easy to pipe into other tools or hand to an agent. The whop apps deploy command builds, type-checks, uploads and promotes an app to production, with a preview option and rollback by promoting an older build. An agent mode page covers skills sync and machine-readable flags. Standalone installs update themselves in the background unless you turn that off.
Pricing
The CLI pages do not list a price, and the CLI is distributed through public installers, Homebrew and npm. You need a Whop account and API access to use it. Any fees for selling through Whop are set by the Whop platform and are not described on the CLI pages.
Limitations
The CLI has no sandbox or test mode, so every command acts on live production data. State-changing commands ask for confirmation and payments can be previewed with a dry-run flag, but care is still needed, especially when handing an API key to an agent; the docs recommend scoping credentials carefully. The CLI only works with Whop, so it is useful only to people already selling or building on that platform. The homepage itself is brief, and most detail lives in the developer documentation.