npx - no global installation needed - and works in three modes: an interactive wizard for ad-hoc use, a non-interactive --yes flag for scripting and CI, and a --stdin flag for piping structured JSON payloads from automated pipelines or agents.
The CLI is Kibble’s supported integration surface today. Treat command flags, environment variables, stdin payloads, and stdout JSON as the public contract.
Installation
You don’t need to install anything globally. Run the CLI withnpx:
Interactive mode
When you runnpx create-kibble without any flags, the CLI starts an interactive session. It walks you through a short sequence of prompts before presenting the action menu.
Analytics consent (EU only)
If your system timezone is in the EU, you’ll be asked whether to enable anonymous analytics. You can opt out at any time by setting
DO_NOT_TRACK=1.Choose an action
Select from the action menu:
| Action | Status | Description |
|---|---|---|
kibble charge | Available | Generate a payment link |
kibble invoice | Available | Create and send a PDF invoice |
kibble yield | Coming soon | Earn yield on your USDC treasury |
kibble cards | Coming soon | Programmable spend cards |
kibble form | Coming soon | Entity formation from your terminal |
Two primary commands
kibble charge
Generate a payment link with a USDC amount. Share it with a customer and get paid on Base. Outputs a URL, QR code, merchant portal link, and iframe embed snippet.
kibble invoice
Create a professional PDF invoice with line items, send it to your vendor by email, and collect USDC payment via a dedicated deposit address.
Three operating modes
Interactive
Run
npx create-kibble with no flags. Guided prompts walk you through each step. Best for one-off payments and invoices.--yes (non-interactive)
Pass
--yes and supply env vars. Outputs JSON to stdout. Best for scripts, CI pipelines, and agent-driven workflows.--stdin (programmatic)
Pipe a JSON invoice payload to stdin. Returns a JSON response. Best for server-side automation and batch invoice generation.
For scripting and automation details — including all env vars, the
--stdin JSON schema, and pipeline examples — see Automation.Environment variables
| Variable | Description |
|---|---|
DO_NOT_TRACK=1 | Disable anonymous usage analytics |
KIBBLE_BASE_URL | Point the CLI at a non-production Kibble backend when developing or testing |