## Uninstall the Stripe CLI

Uninstall the Stripe CLI with npm.

Before uninstalling, run [stripe logout --all](https://docs.stripe.com/cli/logout.md) to remove your login credentials. To remove [configuration files](https://docs.stripe.com/cli/config.md), delete `~/.config/stripe` on macOS and Linux, or `%USERPROFILE%\.config\stripe` on Windows. If you set an `XDG_CONFIG_HOME` environment variable, the directory is `$XDG_CONFIG_HOME/stripe`.

On Windows, delete the directory with `rmdir /s /q "%USERPROFILE%\.config\stripe"` in Command Prompt, or `Remove-Item -Recurse -Force "$env:USERPROFILE\.config\stripe"` in PowerShell.

> If you installed the CLI using an [alternate method](https://github.com/stripe/stripe-cli#installation), uninstall the same way.
