Upgrade the Stripe CLI
Learn how to upgrade the CLI with or without a package manager.
Keep your Stripe CLI up to date to access new features, improvements, and security updates. Follow the instructions below to upgrade the CLI using your preferred installation method.
Homebrew
To upgrade the Stripe CLI with homebrew, run:
brew upgrade stripe/stripe-cli/stripe
Scoop
To upgrade the Stripe CLI with Scoop, run:
scoop update stripe
Docker
The Stripe CLI is also available as a Docker image. To install the latest version, run:
docker run --rm -it stripe/stripe-cli:latest
macOS
To upgrade the Stripe CLI on macOS without homebrew:
- Download the latest
mac-os
tar.gz file of your cpu architecture type from GitHub. - 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:
Download the latest
linux
tar.gz file from GitHub.Unzip the file:
tar -xvf stripe_
.X. X. X_ linux_ x86_ 64. tar. gz Move
.
to your execution path./stripe
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:
Download the latest
windows
zip file from GitHub.Unzip the
stripe_
file.X. X. X_ windows_ x86_ 64. zip Add the path to the unzipped
stripe.
file to yourexe Path
environment variable. To learn how to update environment variables, see the Microsoft PowerShell documentation.
Catatan
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.