# Tingkatkan Stripe CLI Learn how to upgrade the CLI with or without a package manager. Untuk detail selengkapnya, lihat [referensi Stripe CLI](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 Untuk meng-upgrade Stripe CLI dengan [homebrew](https://brew.sh/), jalankan: ```bash brew upgrade stripe/stripe-cli/stripe ``` ## Scoop Untuk meng-upgrade Stripe CLI dengan [Scoop](https://scoop.sh/), jalankan: ```bash scoop update stripe ``` ## Docker Stripe CLI juga tersedia sebagai [gambar Docker](https://hub.docker.com/r/stripe/stripe-cli). Untuk menginstal versi terbaru, jalankan: ```bash docker run --rm -it stripe/stripe-cli:latest ``` ## macOS Untuk meng-upgrade Stripe CLI di macOS tanpa 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`. Atau, instal biner di lokasi tempat Anda dapat mengeksekusinya secara global (misalnya `/usr/local/bin`). ## Linux Untuk meng-upgrade Stripe CLI di Linux tanpa pengelola paket: 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. Pindahkan `./stripe` ke jalur eksekusi Anda. If you do use a Linux package manager, update the Stripe CLI using its update command. ## Windows Untuk meng-upgrade Stripe CLI di Windows tanpa Scoop: 1. Download the latest `windows` zip file from [GitHub](https://github.com/stripe/stripe-cli/releases/latest). 1. Ekstrak file zip `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.