# 使用 Homebrew, apk, apt, Nix 安装 mbt

查看 mbt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:mbt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mbt
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mbt
```

  证据: Alpine Linux edge package indexes: mbt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mbt
```

  证据: Debian stable package indexes: mbt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#mbt
```

  证据: nixpkgs package indexes: pkgs/by-name/mb/mbt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:mbt
- **软件包管理器:** Homebrew
- **版本:** 1.2.49
- **来源摘要:** Multi-Target Application (MTA) build tool for Cloud Applications
- **主页:** <https://sap.github.io/cloud-mta-build-tool>
- **仓库:** <https://github.com/SAP/cloud-mta-build-tool>
- **最后更新:** 2026-07-29T17:04:51+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mbt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2.49
## 项目历史与用法

The Cloud MTA Build Tool, installed as mbt, is SAP's command-line builder for Multi-Target Application archives. It turns an MTA development descriptor, usually mta.yaml, and module artifacts into deployment-ready .mtar archives for SAP Cloud Foundry style workflows.

### 项目历史

SAP's README describes mbt as a standalone command-line tool for building multitarget application archives and running intermediate build steps such as descriptor validation, module builds, and deployment descriptor generation. The public GitHub release stream starts with v0.0.1 in January 2019, matching its role as a purpose-built replacement for older MTA build flows.

The tool sits at the boundary between application build systems and SAP cloud deployment packaging. Its input format, mta.yaml, comes from the SAP Multi-Target Application model, so the CLI is tightly connected to SAP's documentation and developer tooling rather than being a generic archive builder.

### 采用历史

Upstream documents several distribution paths: npm global installation, GitHub release downloads, and Docker images with preconfigured runtimes. The input metadata adds Homebrew, Alpine, Debian/Ubuntu, and Nix package names, showing that the CLI escaped SAP-specific install instructions and became a package-manager artifact for local developer machines and CI images.

### 使用方式

mbt is used in SAP cloud application projects to validate mta.yaml, build modules, generate mtad.yaml, and produce .mtar archives. In package-manager culture it is mostly installed for CI pipelines and developer workstations that need to reproduce SAP Business Application Studio or Cloud Foundry deployment builds locally.

### 为什么软件包爱好者会关心

mbt is interesting to package nerds because it is a vendor-specific cloud build CLI distributed like a normal Unix tool. It also has a mixed packaging story: a Go executable, npm installation path, Docker images, GitHub releases, and native package-manager entries all coexist around the same command.

### 时间线

- 2019: The first public GitHub releases for cloud-mta-build-tool were published.
- 2020: SAP's README copyright period identifies SAP SE or an SAP affiliate company as the steward of the tool.
- 2021: SAP published Multi-Target Application Model v3 documentation used by mbt projects.
- 2026: Homebrew packages the mbt executable for local SAP cloud build workflows.

### Related projects

- Related SAP tools and formats include the Multi-Target Application model, mta.yaml, mtad.yaml, SAP Cloud Foundry deployment tooling, and SAP Business Application Studio.

### 来源

- <https://github.com/SAP/cloud-mta-build-tool>
- <https://github.com/SAP/cloud-mta-build-tool/releases>
- <https://sap.github.io/cloud-mta-build-tool/>
- <https://www.sap.com/documents/2021/09/66d96898-fa7c-0010-bca6-c68f7e60039b.html>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal. infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- generalized runtime or code generation signal
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: mta.yaml
## 其他软件包管理器记录

- Debian apt - libmbt-dev - 3.11-2: normalized package name match | Debian stable package indexes: libmbt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | memory-based tagger-generator and tagger - development | http://languagemachines.github.io/mbt/
- Debian apt - libmbt2 - 3.11-2: normalized package name match | Debian stable package indexes: libmbt2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | memory-based tagger-generator and tagger - runtime | http://languagemachines.github.io/mbt/
- Debian apt - mbt - 3.11-2: normalized package name match | Debian stable package indexes: mbt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | memory-based tagger-generator and tagger | http://languagemachines.github.io/mbt/
- Nix - mbt: normalized package name match | nixpkgs package indexes: pkgs/by-name/mb/mbt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmbt-dev - 3.6-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libmbt-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | memory-based tagger-generator and tagger - development | http://languagemachines.github.io/mbt/
- Ubuntu apt - libmbt1t64 - 3.6-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libmbt1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | memory-based tagger-generator and tagger - runtime | http://languagemachines.github.io/mbt/
- Ubuntu apt - mbt - 3.6-3.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mbt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | memory-based tagger-generator and tagger | http://languagemachines.github.io/mbt/
- apk - mbt - 3.11-r2: normalized package name match | Alpine Linux edge package indexes: mbt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Memory-based Tagger and Tagger Generator | https://github.com/LanguageMachines/mbt
- apk - mbt-dev - 3.11-r2: normalized package name match | Alpine Linux edge package indexes: mbt-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Memory-based Tagger and Tagger Generator (development files) | https://github.com/LanguageMachines/mbt
- apk - mbt-doc - 3.11-r2: normalized package name match | Alpine Linux edge package indexes: mbt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Memory-based Tagger and Tagger Generator (documentation) | https://github.com/LanguageMachines/mbt


## Combined YAML source

View the package source record on GitHub. [combined/mbt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mbt.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
