Skip to content

Installation

tomer-stripe edited this page Nov 4, 2019 · 4 revisions

Stripe CLI is available for macOS, Windows, and Linux for Debian, Ubuntu, RedHat, and CentOS. Use the instructions below to install on your preferred platform.

macOS

homebrew:

Run:

$ brew install stripe/stripe-cli/stripe

Linux

Debian/Ubuntu-based distributions:

  1. Add Bintray's GPG key to the apt sources keyring:
$ sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 379CE192D401AB61
  1. Add stripe-cli's apt repository to the apt sources list:
$ echo "deb https://dl.bintray.com/stripe/stripe-cli-deb stable main" | sudo tee -a /etc/apt/sources.list
  1. Update the package list:
$ sudo apt-get update
  1. Install the CLI:
$ sudo apt-get install stripe

RedHat/CentOS-based distributions:

  1. Add stripe-cli's yum repository to the yum sources list:
$ wget https://bintray.com/stripe/stripe-cli-rpm/rpm -O bintray-stripe-stripe-cli-rpm.repo && sudo mv bintray-stripe-stripe-cli-rpm.repo /etc/yum.repos.d/
  1. Update the package list:
$ sudo yum update
  1. Install the CLI:
$ sudo yum install stripe

Windows

scoop:

  1. Run:
$ scoop bucket add stripe https://github.com/stripe/scoop-stripe-cli.git
  1. Run
$ scoop install stripe

Docker

The CLI is also available as a Docker image: stripe/stripe-cli.

$ docker run --rm -it stripe/stripe-cli version
stripe version x.y.z (beta)