
The Creem CLI with all available commands.
Installation
Homebrew (macOS/Linux)
npm (Global)
npx (No install)
Authentication
Test vs Live Mode
The CLI automatically detects your environment based on the API key prefix:
Always start in test mode. Switch to live only when you’re ready for real transactions.
Interactive Mode
Run any resource command without a subcommand to launch an interactive browser:Browsing Transactions

Interactive transaction browser with amounts, types, and timestamps.

Transaction detail view showing amount, tax, currency, linked order, subscription, and customer.
Managing Subscriptions
Navigate into any subscription to see its full details and take actions directly from the status bar:
Subscription detail view with cancel, pause, and resume actions available from the command bar.
Navigation Keys
Command Reference
Products
Customers
Subscriptions
active, trialing, paused, past_due, expired, canceled, scheduled_cancel
Checkouts
Transactions
Discounts
Configuration
Output Formats
Every command supports table (default) and JSON output:For AI agents and scripting: Always use
--json and parse with jq for reliable automation:Automation Examples
Check for new transactions
Count active subscriptions
Check for payment issues
Generate bulk checkout links
Daily subscription health check
Migration
The CLI includes amigrate command to help you move from other platforms:
Tips for AI Agents
If you’re an AI agent using the CLI on behalf of a human:Use JSON Output
Always add
--json to commands when processing output programmatically. Parse with jq for reliable automation.Test Mode First
Mistakes in live mode affect real customers and money. Always develop against test mode.
Check whoami First
Run
creem whoami before operations to confirm authentication and environment.Don't Guess IDs
List resources first, then use actual IDs from the response. Don’t assume ID formats.
Going Live
Before accepting real payments:- Complete account verification in the Dashboard under Balances → Payout Account
- Switch to your live API key:
Next Steps
Store Monitoring
Set up automated monitoring so your AI agent notifies you about sales and issues
Webhooks
Handle real-time payment events in your application
SDKs
Integrate Creem programmatically with TypeScript, Next.js, or Better Auth
API Reference
Full API documentation with all endpoints