Sign in
An image of the Stripe logo
Create account
Sign in
Home
Payments
Business operations
Financial services
Developer tools
Security
All products
Home
Payments
Business operations
Home
Payments
Business operations
Financial services
Developer tools
Support
Overview
Quickstart
Stripe Shell
Stripe CLI
Get started
Autocompletion
CLI keys
Upgrade
Reference
Dashboard
Stripe for Visual Studio Code
Webhooks
File uploads
Error handling
API
Tour
Keys
Libraries
Upgrades
Rate limits
Card testing
Expanding responses
Domains and IP addresses
Search
Building With Stripe
React Stripe.js
Prebuilt iOS UI
Prebuilt Android UI
Extensions
Connectors
Samples
Checklist
Feedback
HomeDeveloper tools

Stripe CLI

Manage your Stripe resources in test mode directly from the command line.

The Stripe CLI is a developer tool to help you build, test, and manage your integration with Stripe directly from the command line. With the Stripe CLI, it’s easy to perform many common tasks like calling Stripe APIs, testing your webhooks integration, and creating an application.

Start with a guide

Get started with the Stripe CLI

Install the Stripe CLI on macOS, Windows, and Linux and get started with a YouTube video from Developer Advocacy.

Enable autocompletion for the Stripe CLI

Enable autocompletion so that the Stripe CLI automatically completes your commands.

Stripe CLI keys and permissions

Learn about Stripe CLI keys, where they’re stored locally, and where to find their permissions.

Upgrade the Stripe CLI

Take advantage of the latest features of the Stripe CLI.

Reference guides

Use these reference guides to explore the CLI and Stripe APIs.

Tutorials

Subscription product tutorial using the Stripe Shell or CLI

Learn how to create a subscription product using the Stripe Shell or CLI.

Checkout subscription tutorial using the Stripe Shell or CLIPrebuilt

Learn how to subscribe a customer to a recurring payment using the Stripe Shell or CLI.

Manage subscription tutorial using the Stripe Shell or CLIPrebuilt

Learn how to create a customer portal that allows customers to manage an existing subscription using the Stripe Shell or CLI.

Webhook guides

Stripe webhook events overview

Learn about webhooks and how events are triggered for your account.

Listen for events with the Stripe CLI

Learn about events and the different ways to stream real-time events happening in your account.

Test a webhooks integration with the Stripe CLI

Learn how to simulate Stripe events to test a webhooks integration using the stripe trigger <event> command.

Key features

Try different combinations of API requests

The Stripe CLI gives you a command-line method to interact with the same Stripe APIs you already manage in your app and the Stripe Dashboard. Try out different combinations of API requests and test cards before you write a line of code.

Call Stripe APIs to test a webhooks integration

Use the same combination of API requests and parameters as your integration, or run the plug-and-play Stripe CLI sample code in the API reference guide. When you call Stripe APIs, we log one or more events for your account.

Simulate Stripe events to test a webhooks integration

The Stripe CLI provides event emulators using the stripe trigger <event> command to test a webhooks integration. These simulate the service back ends to help you test your webhooks code more efficiently.

Was this page helpful?
Questions? Contact us.
View developer tutorials on YouTube.
Check out our product changelog.
Powered by Markdoc
You can unsubscribe at any time. Read our privacy policy.
On this page
Start with a guide
Tutorials
Webhook guides
Key features
Stripe Shell
Test mode
▗▄ ▄▟█ █▀▀ ▗▟████▙▖ ██████ ███▗▟█ ███ ███▗▟██▙▖ ▗▟█████▙▖ ███▖ ▀▀ ███ ███▀▀▀ ███ ███▀ ███ ███ ███ ▝▜████▙▖ ███ ███ ███ ███ ███ █████████ ▄▄ ▝███ ███ ▄ ███ ███ ███▄ ███ ███ ▄▄ ▝▜████▛▘ ▝▜███▛ ███ ███ ███▝▜██▛▘ ▝▜█████▛▘ ███ ▀▘
Welcome to the Stripe Shell! This is a graphical user interface of the Stripe CLI. You can use it to discover webhook events and manage your Stripe resources. By pressing ctrl + ` you can toggle it open from any page within the Stripe documentation. - View supported commands: - Listen for webhook events: - Trigger webhook events: - Call Stripe APIs: stripe [api resource] [api operation] (e.g. )
The Stripe Shell is best experienced on desktop.
$