Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Flags


Global Flags The Stripe CLI supports a number of flags for every command. Command: `stripe {command}

### Flags ---api-key

Use the Stripe account associated with this Stripe API secret key. ---color

Enable or disable color output. -onEnable color output. -offDisable color output. -autoUse the default output color based on global settings. ---config

Use this file path for the CLI's configuration file (default:$the relevant part of the product). - --device-name

Run this command on behalf of another device. --h, --helpProvides the help documentation for a given command, including the supported flags and arguments. ---log-level

Set the level of detail for log messages (default:info) - debugUseful for development purposes. -infoShows standard logs that come up. -warnShows warnings that are detected. -errorShows every log including errors that arise. --p, --project-name

Define a project name for the CLI's current configuration. Using the--project-nameflag enables multiple configurations across Stripe accounts (stored within one configuration file), and any command can run in the context of a project (default:"default"). - -v, --version` Prints the version of the Stripe CLI. This flag is meant to run without any other flags or arguments set.

Last verified 2026-09-24

Is this helpful?