Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Developer tools
SDKs
API
Testing
Workbench
Event Destinations
Workflows
Stripe CLI
    Overview
    Get started
    Autocompletion
    CLI keys
    Trigger events
    Upgrade
    Reference
Stripe Shell
Developers Dashboard
Agent toolkit
Stripe health alertsBuild with LLMsStripe for Visual Studio CodeFile uploads
Security
Security
Extend Stripe
Stripe Apps
Stripe Connectors
Partners
Partner ecosystem
Partner certification
HomeDeveloper toolsStripe CLI

Upgrade the Stripe CLI

Learn how to upgrade the CLI.

Copy page

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.

If you do use a Linux package manager, update the Stripe CLI using its update command.

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?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc