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
./stripe
to your execution path.
Windows
To upgrade the Stripe CLI on Windows without Scoop:
- Download the latest
windows
zip file from GitHub. - Unzip the
stripe_X.X.X_windows_x86_64.zip
file. - Add the path to the unzipped
stripe.exe
file to yourPath
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