Member-only story
How to configure Stripe CLI for Windows
I will assume you’re trying to create an endpoint location for your dev environment.
Your starting point is either the Stripe dashboard, or this: https://dashboard.stripe.com/test/webhooks/create?endpoint_location=local
1. Install the Stripe CLI
Go to https://stripe.com/docs/stripe-cli > Windows and follow the steps there. First, download the zip file from GitHub.
Unzip the .zip file on your Desktop to find it easier, and copy the path of the folder. It should be something like:
C:\Users\[name]\Desktop\stripe_1.17.2_windows_x86_64
2. Add the `stripe` variable to your Environment variables
In your search bar, type Control Panel and go to System and Security > System > Advanced system settings. Then in the Advanced window, click Environment variables.
Go to System variables and add a new variable with the name “stripe” and the path of the folder from above.
3. Login to Stripe
Next, open the Command Prompt by typing “cmd” in your search bar. In the Command Prompt, navigate to the folder where you have the stripe.exe file (same path as above).