Reputation: 71
I want to install the Stripe CLI on ubuntu 20.04. I folled the step installation who there are in Stripe docs.
But when I tried to run the executable not working.
I try to install via apt-get install stipe whitout success Any idea to install the stripe cli on ubuntu 20.04?
Upvotes: 6
Views: 12511
Reputation: 2136
For the record, it seems that Stripe CLI .deb
package is available at https://github.com/stripe/stripe-cli/releases/latest and I've installed it easily with:
sudo apt install ./stripe_1.20.0_linux_amd64.deb
I'm glad they have better support for Linux now, perhaps the documentation is kinda outdated.
Upvotes: 0
Reputation: 96
1 wget
Download the latest linux tar.gz file from https://github.com/stripe/stripe-cli/releases/latest
2 Unzip the file: tar -xvf stripe_X.X.X_linux_x86_64.tar.gz
3 mv stripe ./usr/local/bin
4 ./stripe login
5 stripe listen --forward-to http://localhost:80/api/subs/stripe-webhook
Upvotes: 0
Reputation: 281
If you haven't already figured out an answer to this question, you have to manually move the unzipped stripe program to usr/bin or usr/local/bin. I did personally did usr/local/bin so
(sudo) mv <filename> usr/local/bin
then ran
./stripe
and that worked.
Upvotes: 12
Reputation: 111
You have to login into your stripe dashboard first to start using stripe-cli.
On ubuntu you can run ./stripe login
to get logged in into your stripe dashboard.
Upvotes: 7
Reputation: 490
The installation method that you are using is the correct one, and recommended by the documentation:
https://stripe.com/docs/stripe-cli#install
Have you paired your credentials as the documentation recommends? prompt should launch a browser that will allow you to do that. I would run stripe login
without any parameters first, to make sure the account is paired.
Upvotes: 0