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:
- 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
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.
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