# SAP Business Technology Platform Command Line Interface

用于管理 SAP Business Technology Platform（SAP BTP）账户的命令行界面。

> 这是 OpenNavo 上 SAP Business Technology Platform Command Line Interface 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/btp>

- **最新版本**: `2.116.3`
- **开发者**: SAP
- **主页**: <https://tools.hana.ondemand.com/#cloud-cpcli>
- **分类**: [开发工具](https://opennavo.com/zh/categories/developer-tools)
- **安装**: `brew install --cask btp`
- **近 30 天安装**: 175
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://tools.hana.ondemand.com/additional/btp-cli-darwin-arm64-2.116.3.tar.gz>
- **SHA-256**: `312964f52700273fdcd75f3d9f90828cebb0933a10115c21d0a9c4df24dc2258`
- **附带命令**: btp

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 注意事项

Installing btp means you have AGREED to the license at: https://tools.hana.ondemand.com/developer-license-3_2.txt

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "binary": [
        "darwin-arm64/btp"
      ],
      "target": "$HOMEBREW_PREFIX/bin/btp"
    },
    "phase": "install",
    "sources": [
      "darwin-arm64/btp"
    ],
    "target": "$HOMEBREW_PREFIX/bin/btp",
    "type": "binary"
  },
  {
    "declaration": {
      "generate_completions_from_executable": [
        "darwin-arm64/btp",
        {
          "base_name": null,
          "shell_parameter_format": "--autocomplete=init:",
          "shells": [
            "bash",
            "zsh",
            "pwsh"
          ]
        }
      ]
    },
    "phase": "install",
    "sources": [
      "darwin-arm64/btp"
    ],
    "type": "generate_completions_from_executable"
  },
  {
    "declaration": {
      "zap": []
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

SAP Business Technology Platform Command Line Interface（`btp CLI`）是一款用于管理 SAP BTP 账户的命令行工具，通过终端使用，并非图形界面应用。

- SAP 官方工具页面将其用途描述为 SAP BTP 账户管理。
- 可执行文件名为 `btp`；Homebrew 会将其安装到二进制文件目录，以便作为命令运行。
- Homebrew cask 会生成 Bash、Zsh 和 PowerShell（`pwsh`）的 Shell 补全支持。
- Homebrew cask 提供 macOS 和 Linux 对应的下载，涵盖 Intel（`amd64`/`x86_64`）与 ARM64 版本。

使用 `brew install --cask btp` 安装。安装后，可在终端运行 `btp`。有关使用该 CLI 管理账户的更多说明，请查阅 SAP 文档。cask 的许可提示指出，安装即表示同意 SAP Developer License Agreement 3.2；请在安装前阅读该协议。

[SAP 官方工具与 CLI 信息](https://tools.hana.ondemand.com/#cloud-cpcli) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/b/btp.rb)

## 系统要求

- 适用于 macOS 27, 26, 15, 14, 13, 12, 11 的版本 · 应用版本: 2.116.3 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/b/btp.rb> · 核查于 2026-11-29
  - <https://tools.hana.ondemand.com/additional/btp-cli-darwin-amd64-2.116.3.tar.gz>
  - SHA-256: `2342c39c49e6722c2924d06a57944a2d2a1e57c533b81de6b02ee2ef8faf3030`
- 适用于 macOS 27, 26, 15, 14, 13, 12, 11 的版本 · 应用版本: 2.116.3 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/b/btp.rb> · 核查于 2026-11-29
  - <https://tools.hana.ondemand.com/additional/btp-cli-darwin-arm64-2.116.3.tar.gz>
  - SHA-256: `312964f52700273fdcd75f3d9f90828cebb0933a10115c21d0a9c4df24dc2258`

## 卸载

- `brew uninstall --cask btp`

普通卸载会删除应用本身，设置和缓存会保留。

## 资料与来源

- <https://opennavo.com/zh/apps/btp>
- <https://opennavo.com/zh/apps/btp/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/b/btp.rb> · 核查于 2026-11-29
- <https://formulae.brew.sh/cask/btp>
