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
The install scripts put
whop in ~/.local/bin (%USERPROFILE%\.local\bin on Windows) and don’t edit your shell profile. If whop isn’t found afterwards, add that directory to your PATH, for example export PATH="$HOME/.local/bin:$PATH". Set WHOP_INSTALL_DIR to install somewhere else. The npm package requires Node.js 22 or later.whop --help also shows the API version the CLI speaks.
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
74 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_CLI_AUTO_UPDATE=0 to only get a notice. Otherwise, an interactive terminal tells you when a newer release is out, and whop --update installs it. Homebrew installs update with brew upgrade whop.
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.

