调至内容部分
创建账户或登录
Stripe 文档徽标
/
询问人工智能
创建账户登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
API 和 SDK帮助
概览
版本管理
更改日志
升级您的 API 版本
升级 SDK 版本
基础功能
SDK
API
测试
Stripe CLI
    概览
    安装 CLI
    使用 CLI
    启用自动完成
    CLI 密钥
    触发事件
    升级 CLI
项目示例
工具
Stripe 管理平台
Workbench
开发人员管理平台
Stripe Shell
Stripe for Visual Studio Code
功能
工作流程
事件接收端
Stripe 健康警报文件上传
AI 解决方案
代理工具包
模型上下文协议Build agentic AI SaaS Billing workflows
安全与隐私
安全
Stripebot web crawler
隐私
扩展 Stripe
构建 Stripe 应用程序
使用 Stripe 的应用程序
合作伙伴
合作伙伴生态
合作伙伴认证
美国
简体中文
首页开发人员资源Stripe CLI

Upgrade the Stripe CLI

Learn how to upgrade the CLI with or without a package manager.

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

To upgrade the Stripe CLI with homebrew, run:

Command Line
brew upgrade stripe/stripe-cli/stripe

Scoop

To upgrade the Stripe CLI with Scoop, run:

Command Line
scoop update stripe

Docker

The Stripe CLI is also available as a Docker image. To install the latest version, run:

Command Line
docker run --rm -it stripe/stripe-cli:latest

macOS

To upgrade the Stripe CLI on macOS without homebrew:

  1. Download the latest mac-os tar.gz file of your cpu architecture type from GitHub.
  2. Unzip the file: tar -xvf stripe_[X.X.X]_mac-os_[ARCH_TYPE].tar.gz.

Optionally, install the binary in a location where you can execute it globally (for example, /usr/local/bin).

Linux

To upgrade the Stripe CLI on Linux without a package manager:

  1. Download the latest linux tar.gz file from GitHub.

  2. Unzip the file: tar -xvf stripe_X.X.X_linux_x86_64.tar.gz.

  3. Move ./stripe to your execution path.

If you do use a Linux package manager, update the Stripe CLI using its update command.

Windows

To upgrade the Stripe CLI on Windows without Scoop:

  1. Download the latest windows zip file from GitHub.

  2. Unzip the stripe_X.X.X_windows_x86_64.zip file.

  3. 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.

注意

Windows anti-virus scanners occasionally flag the Stripe CLI as unsafe. This is very likely a false positive. For more information, see issue #692 in the GitHub repository.

此页面的内容有帮助吗?
是否
  • 需要帮助?联系支持。
  • 查看我们的更改日志。
  • 有问题?联系销售。
  • LLM? Read llms.txt.
  • Powered by Markdoc