whop) puts the Current API in your terminal: deploy apps, create products, set pricing, send payouts, run ads, and pull stats. Every command also works non-interactively for scripts and AI agents.
Install
Prebuilt binaries cover macOS and Linux. On other platforms, install via npm (requires Node.js 22 or later).
Sign in
whop login --method oauth opens a browser. whop login --method api-key --apiKey whop_xxx is non-interactive. Profiles let you keep several identities: whop auth list, whop auth switch, and whop auth status manage them. Then pick the business the CLI acts on:
What’s here
51 command groups, organized the waywhop --help groups them:
See Commands for every command, or run
whop <group> --help.
Everyday commands
whop <resource> list|get|create|update. Every command takes --format json for structured output. Account-scoped commands use the selected business by default, and --account_id chooses a different one.
Deploy an app
--preview to upload without promoting, then ship it later with whop apps builds promote <build_id>. Promoting an older build is also how you roll back.
After a deploy, read your app’s server logs:
Non-interactive use
For CI, scripts, or headless agents, setWHOP_API_KEY instead of logging in. Create a key under Developer in your dashboard, and see Auth & API keys before giving one to an agent.
whop upgrade updates immediately.
Next steps
Commands
Every command group, with descriptions from the CLI itself.
Agent mode
Skills sync and the machine-readable flags.
Build with the CLI and Claude
Scaffold and ship a Whop app with an agent in the loop.
Auth & API keys
Scope the credential you sign the CLI in with.

