调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
概览
版本管理
更改日志
升级您的 API 版本
升级 SDK 版本
Essentials
SDK
API
测试
Stripe CLI
    概览
    开始
    自动完成
    CLI 密钥
    触发事件
    升级
    参考编号
工具
Workbench
开发人员管理平台
Stripe Shell
Stripe for Visual Studio Code
功能
工作流程
事件接收端
Stripe 健康警报文件上传
AI solutions
代理工具包
安全与隐私
安全
隐私
扩展 Stripe
Stripe 应用程序
Stripe Connector
合作伙伴
合作伙伴生态
合作伙伴认证
首页开发人员资源Stripe CLI

Upgrade the Stripe CLI

Learn how to upgrade the CLI.

Take advantage of the latest features of the Stripe CLI.

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

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.

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
此页面的内容有帮助吗?
是否
需要帮助?联系支持。
加入我们的早期使用计划。
查看我们的更改日志。
有问题?联系销售。
LLM? Read llms.txt.
Powered by Markdoc