# Actualizar la CLI de Stripe Learn how to upgrade the CLI with or without a package manager. Para obtener más información, consulta la [referencia de CLI de Stripe](https://docs.stripe.com/cli.md). Keep your Stripe CLI up to date to access new features, improvements, and security updates. Follow the instructions below to upgrade the CLI using your preferred installation method. ## Homebrew Para actualizar la CLI de Stripe con [homebrew](https://brew.sh/), ejecuta lo siguiente: ```bash brew upgrade stripe/stripe-cli/stripe ``` ## Scoop Para actualizar la CLI de Stripe con [Scoop](https://scoop.sh/), ejecuta: ```bash scoop update stripe ``` ## Docker La CLI de Stripe también está disponible como [imagen de Docker](https://hub.docker.com/r/stripe/stripe-cli). Para instalar la última versión, ejecuta lo siguiente: ```bash docker run --rm -it stripe/stripe-cli:latest ``` ## macOS Para actualizar la CLI de Stripe en macOS sin homebrew: 1. Download the latest `mac-os` tar.gz file of your cpu architecture type from [GitHub](https://github.com/stripe/stripe-cli/releases/latest). 1. Unzip the file: `tar -xvf stripe_[X.X.X]_mac-os_[ARCH_TYPE].tar.gz`. Otra opción es instalar el binario en una ubicación donde puedas ejecutarlo globalmente (por ejemplo, `/usr/local/bin`). ## Linux Para actualizar la CLI de Stripe en Linux sin un administrador de paquetes: 1. Download the latest `linux` tar.gz file from [GitHub](https://github.com/stripe/stripe-cli/releases/latest). 1. Unzip the file: `tar -xvf stripe_X.X.X_linux_x86_64.tar.gz`. 1. Añade `./stripe` a tu ruta de ejecución. If you do use a Linux package manager, update the Stripe CLI using its update command. ## Windows Para actualizar la CLI de Stripe en Windows sin Scoop: 1. Download the latest `windows` zip file from [GitHub](https://github.com/stripe/stripe-cli/releases/latest). 1. Descomprime el archivo `stripe_X.X.X_windows_x86_64.zip`. 1. Add the path to the unzipped `stripe.exe` file to your `Path` environment variable. To learn how to update environment variables, see the [Microsoft PowerShell documentation](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.3#saving-changes-to-environment-variables). > Windows anti-virus scanners occasionally flag the Stripe CLI as unsafe. This is very likely a false positive. For more information, see [issue #692](https://github.com/stripe/stripe-cli/issues/692) in the GitHub repository.