Plain Dev Blog
← Back to all posts

How to install/update Stripe CLI on Ubuntu

·

How to install/update Stripe CLI on Ubuntu

UPDATE 13.06.26: I have something special in mind involving Stripe Webhooks, so stay tuned on whats's coming.


It is available to install for a platforms all OS: Linux, Mac & Windows it’s installs pretty fast and easy.

What was more challenging for me was: Update it’s pretty stable and updates are roll out rarely but sometimes there a hefty new features that can be used(and removes the annoying text when you use it…)

So what you need is:

  1. Go to https://github.com/stripe/stripe-cli into the latest release and grab the latest version for your platform

  2. Extract it using tar -xvf stripe_X.X.X_linux_x86_64.tar.gz

  3. And move the file to your execution path

Well it pretty straight forward right? Well it wasn’t for me…not in the beginning anyway…

So to save the prompts, after I've figure it out what you need to is:

Move the file:

sudo mv stripe /usr/local/bin

Then update the permissions:

sudo chmod +x /usr/local/bin/stripe

And you a good to go, you can use

stripe --version

stripe version 1.43.2

to check the version, if it shows the previous version restart your terminal and try again.

Conclusion

If you have Stripe webhooks that are used in your project, Stripe CLI is a must have, It helps immensely in any aspect of the manage process.

There you have it, you don’t need to ask your LLM of choice about it, save the prompts for more important things, credits are very valuable these days.