Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Config


config Use the config command to manually set configuration options for the CLI. The config command supports: * Setting options * Unsetting options * Listing all configured options * Opening the configuration file with your default editor All commands support the --project-name global flag. You can define a unique configuration for individual projects. Command: stripe config ### Flags - -e, --edit Opens the configuration file in your default editor. - --list Lists all configured options (including defaults). - `--set

Set a value for the specified configuration option. ---unset

` Unset the configuration option and remove the key-value pair from the configuration file. ### Examples Set a configuration option sh stripe config --set color on Unset a configuration option sh stripe config --unset color List the currently configured options sh stripe config --list color = "on" [default] device_name = "st-stripe1" live_mode_api_key = "rk_live_abc123" live_mode_publishable_key = "pk_live_abc123" test_mode_api_key = "rk_test_abc123" test_mode_publishable_key = "pk_test_abc123"

Last verified 2026-09-24

Is this helpful?