Skip to content
Sign in
An image of the Stripe logo
/
Create account
Sign in
Home
Payments
Finance automation
Banking as a service
Developer tools
No-code
All products
Home
Payments
Finance automation
Home
Payments
Finance automation
Banking as a service
Developer tools
Overview
Building your integration
Developer tools
    Test mode
    Stripe Shell
    Stripe CLI
      Get started
      Autocompletion
      CLI keys
      Upgrade
      Reference
    Dashboard
    Stripe for Visual Studio Code
    Webhooks
    File uploads
    Feedback
SDKs
API
Security
Sample projects
Videos
Stripe Apps
Stripe Connectors
Partners
HomeDeveloper toolsStripe CLI

Upgrade the Stripe CLI

Learn how to upgrade the CLI.

Take advantage of the latest features of the Stripe CLI.

Homebrew

To upgrade the Stripe CLI with homebrew, run:

Command Line
brew upgrade stripe/stripe-cli/stripe

Scoop

To upgrade the Stripe CLI with Scoop, run:

Command Line
scoop update stripe

macOS

To upgrade the Stripe CLI on macOS without homebrew:

  1. Download the latest mac-os tar.gz file of your cpu architecture type from GitHub.
  2. Unzip the file: tar -xvf stripe_[X.X.X]_mac-os_[ARCH_TYPE].tar.gz.

Optionally, install the binary in a location where you can execute it globally (for example, /usr/local/bin).

Linux

To upgrade the Stripe CLI on Linux without a package manager:

  1. Download the latest linux tar.gz file from GitHub.
  2. Unzip the file: tar -xvf stripe_X.X.X_linux_x86_64.tar.gz.
  3. Move ./stripe to your execution path.

Windows

To upgrade the Stripe CLI on Windows without Scoop:

  1. Download the latest windows zip file from GitHub.
  2. Unzip the stripe_X.X.X_windows_x86_64.zip file.
  3. Add the path to the unzipped stripe.exe file to your Path environment variable. To learn how to update environment variables, see the Microsoft PowerShell documentation.

Note

Windows anti-virus scanners occasionally flag the Stripe CLI as unsafe. This is very likely a false positive. For more information, see issue #692 in the GitHub repository.

Docker

The Stripe CLI is also available as a Docker image. To install the latest version, run:

Command Line
docker run --rm -it stripe/stripe-cli:latest
Was this page helpful?
Need help? Contact Support.
Watch our developer tutorials.
Check out our product changelog.
Questions? Contact Sales.
Powered by Markdoc
You can unsubscribe at any time. Read our privacy policy.
On this page
Homebrew
Scoop
macOS
Linux
Windows
Docker
Stripe Shell
Test mode
Welcome to the Stripe Shell! Stripe Shell is a browser-based shell with the Stripe CLI pre-installed. Log in to your Stripe account and press Control + Backtick (`) on your keyboard to start managing your Stripe resources in test mode. - View supported Stripe commands: - Find webhook events: - Listen for webhook events: - Call Stripe APIs: stripe [api resource] [operation] (e.g., )
The Stripe Shell is best experienced on desktop.
$