Stripe CLI installs six ways, and the yum repository entry turns GPG checking off
A command-line tool for Stripe
At a glance
- What is it?
- The Stripe CLI is a Go binary for testing webhooks, tailing API logs and calling Stripe API objects from a terminal. Its README spends most of its length on installing, upgrading and uninstalling, and the details differ in ways that matter: Docker cannot log in, and removing the binary leaves plugins and credentials behind.
- Who is it for?
- Use the Stripe CLI if you build against the Stripe API and want to test webhooks, trigger events and read request logs from a terminal. Pick the install route that matches how you want updates, and avoid Docker if you rely on stripe login, since it is not supported there.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Go, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.
Star history
- stripe/stripe-cli2,243 ★ · +46
| Repository | 2026-10-08 | 2026-11-26 |
|---|---|---|
| stripe/stripe-cli | 2.2k | 2.2k |
46 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Four jobs: webhooks, triggered events, live request logs and API objects
The Stripe CLI helps you build, test and manage a Stripe integration from the terminal. The README lists four jobs. You can test webhooks securely without third party software, trigger webhook events or resend events, tail your API request logs in real time, and create, retrieve, update or delete API objects.
The commands the README names as most used map onto those jobs: `login`, `listen`, `trigger`, `logs tail`, `events resend`, `config`, `open`, the `get`, `post` and `delete` commands, and the `resource` commands. Running `stripe [command]` starts any of them, and `stripe [command] help` prints detailed information.
Each name links to the CLI reference at stripe.com/docs/cli, so flags and examples live there.
Six package routes, and the npx route does not put stripe on your PATH
The CLI is available for macOS, Windows and Linux distros such as Ubuntu, Debian, RedHat and CentOS. With Node.js 18 or later installed, you can use npm:
npm install -g @stripe/cli`npx @stripe/cli login` runs a command directly, though the README notes this does not add `stripe` to your `PATH`. On macOS the route is `brew install stripe`, and on Windows `winget install Stripe.StripeCLI`, or Scoop with `scoop bucket add stripe https://github.com/stripe/scoop-stripe-cli.git` followed by `scoop install stripe`.
On Debian and Ubuntu you add a GPG key under `/usr/share/keyrings/stripe.gpg`, write a `stripe.list` source file, run `sudo apt update` and then `sudo apt install stripe`. The feature to note is that the source line is signed with `signed-by=/usr/share/keyrings/stripe.gpg`.
Upgrades follow each tool: `brew upgrade stripe`, `winget upgrade Stripe.StripeCLI`, `scoop update stripe`, `sudo apt update && sudo apt upgrade stripe` and `yum update stripe`.
The yum repository file sets gpgcheck=0
The apt instructions import a GPG key and sign the source. The yum and dnf instructions for RedHat, Fedora and CentOS do not. The README has you append this to `/etc/yum.repos.d/stripe.repo`:
echo -e "[Stripe]\nname=stripe\nbaseurl=https://packages.stripe.dev/stripe-cli-rpm-local/\nenabled=1\ngpgcheck=0" | sudo tee -a /etc/yum.repos.d/stripe.repoWith `gpgcheck=0`, yum does not verify package signatures from that repository. The README gives no reason for it and offers no alternative that verifies. The trust rests on the HTTPS transport to packages.stripe.dev, so if your policy requires signed RPMs, take the release tarball and check it by other means instead.
The install itself is then `sudo yum install stripe`.
The Docker image cannot run stripe login and needs a password store for live mode
A Docker image exists as `stripe/stripe-cli`, and `docker run --rm -it stripe/stripe-cli version` prints the version. The Dockerfile in the repository is small: it starts from `alpine:3.22`, installs `ca-certificates`, copies `stripe` to `/bin/stripe` and uses it as the entrypoint.
Because Docker containers are ephemeral, the `stripe login` command is not supported there. The README says to use the `--api-key` flag instead. Test mode needs no password store, but live mode requests do. You can also pass a live key on a per command basis with `--api-key`.
For a persistent setup the README walks through four steps: create an `entrypoint.sh` that generates a gpg key called `stripe-live` and initializes `pass`, write a `Dockerfile-cli` based on `stripe/stripe-cli:vx.x.x` that runs `apk add pass gpg-agent`, build with `docker build -t stripe-cli -f Dockerfile-cli .`, then run with three volumes for the config, `.gnupg` and `.password-store` directories. Append `--live` after the command for live mode.
Without a package manager you unpack the archive and place the binary yourself
The release archives come from the GitHub Releases page. On macOS the README unpacks `stripe_X.X.X_mac-os_ARCH.tar.gz` with `tar -xvf` and suggests moving `stripe` to `/usr/local/bin`. On Linux the archive is `stripe_X.X.X_linux_x86_64.tar.gz`, and the binary has to land in a directory on your `PATH`. On Windows you unzip `stripe_X.X.X_windows_x86_64.zip` and add the folder with `stripe.exe` to the `Path` environment variable.
One warning is specific to Windows: anti-virus software may flag the binary as unsafe. The README calls it a false positive and points to issue #692.
Only x86_64 is named for Linux and Windows archives in these examples. The README does not show an ARM Linux archive name, so check the release assets if you need one.
Upgrading this way means downloading the latest release and replacing the existing binary.
Uninstalling removes the binary but leaves plugins and credentials
The uninstall section is the most careful part of the README. Package managers only remove the `stripe` binary, and plugins stay behind. You remove them first, while the binary still exists:
stripe plugin uninstall --allThen you remove the CLI with the matching command, such as `npm uninstall -g @stripe/cli`, `brew uninstall stripe`, `sudo apt remove stripe`, `sudo yum remove stripe`, `winget uninstall Stripe.StripeCLI`, `scoop uninstall stripe` or `docker rmi stripe/stripe-cli`.
Configuration and credentials stay, on purpose, so reinstalling preserves your projects and settings. To remove them yourself you run `stripe logout --all` to clear stored credentials for every project, then delete the `stripe` folder under `${XDG_CONFIG_HOME:-$HOME/.config}`. If you skip these on a shared machine, your login stays on disk after the binary is gone.
Frequent point releases on a Go codebase with a plugin system
The repository is Go. Its `go.mod` declares Go 1.26.5 and uses `spf13/cobra` for commands, `spf13/viper` for configuration, `gorilla/websocket`, `google.golang.org/grpc` and `hashicorp/go-plugin`. The plugin dependency fits the `stripe plugin uninstall` command in the README, and `getsentry/sentry-go` is also listed.
The top level has `cmd/`, `pkg/`, `internal/`, `rpc/`, `canary/` and `npm/` directories, plus `ARCHITECTURE.md`. The Makefile has a `canary` target that builds a binary and runs end-to-end tests against it, with a `canary-offline` variant that needs no API key.
Releases arrive close together: v1.55.1 on 22 October 2026, v1.55.2 on 26 October and v1.55.3 on 27 October. The last push was on 24 October 2026. The license is Apache-2.0. The README also has a Telemetry section, so read it before using the CLI in a restricted environment.
Editorial conclusion
Use the Stripe CLI if you build against the Stripe API and want to test webhooks, trigger events and read request logs from a terminal. Pick the install route that matches how you want updates, and avoid Docker if you rely on stripe login, since it is not supported there. Before deploying the yum route anywhere shared, check the repository file the README tells you to write, because it sets gpgcheck=0.
Frequently asked questions
What is Stripe CLI?
The Stripe CLI helps you build, test and manage your Stripe integration from the terminal. It can test webhooks, trigger or resend events, tail API request logs and manage API objects.
How can I download the Stripe CLI for Windows?
Run winget install Stripe.StripeCLI, or use Scoop with scoop bucket add stripe followed by scoop install stripe. You can also unzip the Windows release archive and add the folder with stripe.exe to your Path.
how to install stripe cli on mac
With Homebrew, run brew install stripe. You can also use npm install -g @stripe/cli with Node.js 18 or later.
how to add stripe cli to path
With the downloaded archive, move the stripe binary to a directory on your PATH, such as /usr/local/bin on macOS. On Windows, add the folder containing stripe.exe to the Path environment variable.
How to login to Stripe CLI?
The README lists the login command among the most used ones and links its reference page. In Docker, stripe login is not supported, so use the --api-key flag instead.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/stripe-stripe-cli)Star history chart for your README
[](https://hysenlabs.com/projects/stripe-stripe-cli)Was this useful?