@stripe/cli-win32-x64 1.50.10 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -3
- package/bin/stripe.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -216,6 +216,76 @@ Because Docker containers are ephemeral, the `stripe login` command isn't suppor
|
|
|
216
216
|
|
|
217
217
|
Download the latest release for your platform from the [GitHub Releases page](https://github.com/stripe/stripe-cli/releases/latest) and replace your existing binary.
|
|
218
218
|
|
|
219
|
+
## Uninstalling
|
|
220
|
+
|
|
221
|
+
### 1. Remove your plugins
|
|
222
|
+
|
|
223
|
+
Package managers only remove the `stripe` binary; they leave installed plugins behind. Remove plugins first, while the `stripe` binary is still available:
|
|
224
|
+
|
|
225
|
+
```sh
|
|
226
|
+
stripe plugin uninstall --all
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
### 2. Remove the CLI
|
|
230
|
+
|
|
231
|
+
**npm (macOS, Linux, Windows):**
|
|
232
|
+
|
|
233
|
+
```sh
|
|
234
|
+
npm uninstall -g @stripe/cli
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**Homebrew (macOS):**
|
|
238
|
+
|
|
239
|
+
```sh
|
|
240
|
+
brew uninstall stripe
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
**apt (Debian, Ubuntu):**
|
|
244
|
+
|
|
245
|
+
```sh
|
|
246
|
+
sudo apt remove stripe
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
**yum/dnf (RedHat, Fedora, CentOS):**
|
|
250
|
+
|
|
251
|
+
```sh
|
|
252
|
+
sudo yum remove stripe
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
**WinGet (Windows):**
|
|
256
|
+
|
|
257
|
+
```sh
|
|
258
|
+
winget uninstall Stripe.StripeCLI
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
**Scoop (Windows):**
|
|
262
|
+
|
|
263
|
+
```sh
|
|
264
|
+
scoop uninstall stripe
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
**Docker:**
|
|
268
|
+
|
|
269
|
+
```sh
|
|
270
|
+
docker rmi stripe/stripe-cli
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
**Without package managers:**
|
|
274
|
+
|
|
275
|
+
Delete the `stripe` binary you downloaded.
|
|
276
|
+
|
|
277
|
+
### 3. Optionally remove configuration and credentials
|
|
278
|
+
|
|
279
|
+
Uninstalling the CLI intentionally keeps your configuration, so reinstalling preserves your projects and settings. It is only removed if you remove it yourself:
|
|
280
|
+
|
|
281
|
+
```sh
|
|
282
|
+
# Clear stored credentials for every project you are logged into
|
|
283
|
+
stripe logout --all
|
|
284
|
+
|
|
285
|
+
# Remove all remaining CLI configuration
|
|
286
|
+
rm -rf "${XDG_CONFIG_HOME:-$HOME/.config}/stripe"
|
|
287
|
+
```
|
|
288
|
+
|
|
219
289
|
## Usage
|
|
220
290
|
|
|
221
291
|
Installing the CLI provides access to the `stripe` command.
|
|
@@ -235,9 +305,6 @@ The Stripe CLI supports a broad range of commands. Below are some of the most us
|
|
|
235
305
|
- [`trigger`](https://stripe.com/docs/cli/trigger)
|
|
236
306
|
- [`logs tail`](https://stripe.com/docs/cli/logs/tail)
|
|
237
307
|
- [`events resend`](https://stripe.com/docs/cli/events/resend)
|
|
238
|
-
- [`samples`](https://stripe.com/docs/cli/intro_stripe_samples)
|
|
239
|
-
- [`serve`](https://stripe.com/docs/cli/serve)
|
|
240
|
-
- [`status`](https://stripe.com/docs/cli/status)
|
|
241
308
|
- [`config`](https://stripe.com/docs/cli/config)
|
|
242
309
|
- [`open`](https://stripe.com/docs/cli/open)
|
|
243
310
|
- [`get`, `post` & `delete` commands](https://stripe.com/docs/cli/get)
|
package/bin/stripe.exe
CHANGED
|
Binary file
|