Skip to main content
The Stigg CLI is currently in public beta. Feedback and bug reports are welcome.
The Stigg CLI is a REST API wrapper for your terminal. Provision customers, manage subscriptions, report usage, check entitlements — any operation available through the Stigg API is available as a command.

GitHub

stiggio/stigg-cli
1

Install

Install the Stigg CLI via Homebrew or Go:
Requires Go 1.22 or later for the Go install. The binary is placed in your Go bin directory (default: $HOME/go/bin). If stigg isn’t found after installation, add it to your PATH:
2

Authenticate

In the Stigg app, go to Settings > API keys and copy a key for the environment you want to use. You can provide the key in two ways:
For CI/CD pipelines, store the key as a secret and inject it as STIGG_API_KEY at runtime.
Never hard-code API keys in scripts or commit them to source control.
3

Start using

Query your Stigg environment directly from the terminal:

Common commands

Read operations
List all customers in the current environment
Get details for a specific customer
List subscriptions, optionally filtered by customer
Get full details for a subscription
Check a customer’s access to a specific feature
List all plans in the product catalog Write operations
Create or update a customer record
Subscribe a customer to a plan
Update an existing subscription (e.g. add-on quantities)
Cancel a subscription immediately or at period end
Report metered feature usage for a customer
Submit a raw usage event for aggregation Run stigg --help for the full command reference, or stigg v1:<resource> --help for flags on a specific resource.

Example use-cases

Debug a customer issue Check what a customer is entitled to and whether their subscription is active, without opening the Stigg console:
Seed a sandbox for local development Provision a test customer and subscription in one shot:
Automate in CI/CD Provision test fixtures before integration tests run, then tear them down after:
Report usage from a script Push metered usage from a batch job or cron task:

CLI vs MCP server

Not sure which tool to use? See the side-by-side comparison.

Global flags