Send usage events
Ingest events and inspect exactly how they metered.
Manage billing objects
Customers, subscriptions, invoices, plans, wallets, and more.
Script against it
Stable JSON output and documented exit codes.
Escape hatch
Raw
get/post/delete for anything without a named command.Installing the Flexprice CLI
- Install script
- Download a release
- Go install
On macOS or Linux, install the latest release:The binary is installed to
/usr/local/bin if writable, or ~/.local/bin otherwise. Make sure the install directory is on your PATH.Upgrading the CLI
On macOS or Linux, update to the latest release:go install github.com/flexprice/cli/cmd/flexprice@latest to upgrade. Updating preserves your configuration and stored keys.
go install ...@latest resolves through Go’s module proxy, which can take a few minutes to index a brand-new release. To install a specific version immediately, pin it: go install github.com/flexprice/cli/cmd/flexprice@v1.0.1.Next steps with the CLI
Quickstart
Authenticate and run your first command.
Authentication
How keys, environments, and profiles fit together.
Global flags
Flags every command accepts.
Output & scripting
Exit codes and the machine-facing contract.

