# 使用 Homebrew, dnf, MacPorts 安装 tmt

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

## 安装

```sh
sudo av install brew:tmt
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tmt
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tmt
```

  证据: MacPorts ports tree: devel/tmt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install tmt
```

  证据: Fedora Rawhide package metadata: tmt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:tmt
- **软件包管理器:** Homebrew
- **版本:** 1.77.0
- **来源摘要:** Test Management Tool
- **主页:** <https://tmt.readthedocs.io>
- **最后更新:** 2026-08-01T06:44:26Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tmt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tmt, the Test Management Tool, is a Python command-line project for storing test metadata close to source code and running tests across environments. It sits in the Fedora, CentOS, RHEL, and CI-testing niche rather than the general-purpose terminal-tool niche.

### 项目历史

The official documentation describes tmt as both a command-line tool and an implementation of a metadata specification. Its core idea is that test data can live directly in a git repository using Flexible Metadata Format, making test coverage shareable across projects and distributions.

### 采用历史

The official questions page says tmt is packaged and tested for Fedora, CentOS, and RHEL, with PyPI installation as the path for other Linux distributions. The same page names example users including the AlmaLinux community for compose testing, while the batch input shows package availability through Homebrew, dnf, and MacPorts.

### 使用方式

tmt users create, lint, import, run, and export tests, plans, and stories. The run workflow is broken into discover, provision, prepare, execute, report, and finish steps, which maps cleanly onto continuous integration jobs and local debugging.

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

For package-oriented developers, tmt is notable because it treats test metadata as repository data and can bridge older test metadata sources. Official examples show imports from Makefile, PURPOSE, Nitrate, and Polarion, and exports back to Nitrate and Polarion, making it a migration layer as well as a test runner.

### 时间线

- Current: Official docs describe tmt as implementing the Metadata Specification and using fmf for structured test metadata.
- Current: Official docs package and test tmt for Fedora, CentOS, and RHEL, with PyPI-supported use elsewhere.
- 2026: GitHub listed more than 100 releases for teemtee/tmt.

### Related projects

- fmf is the metadata format used by tmt to store human- and machine-readable test data.
- Nitrate, Polarion, BeakerLib, Testing Farm-style CI workflows, and Fedora/RHEL packaging are adjacent parts of the tmt ecosystem.

### 来源

- <https://github.com/teemtee/tmt>
- <https://tmt.readthedocs.io/en/stable/examples.html>
- <https://tmt.readthedocs.io/en/stable/overview.html>
- <https://tmt.readthedocs.io/en/stable/questions.html>
- input.json source_facts.package-manager


## 安全说明

没有找到 tmt 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: .fmf/, *.fmf, ~/.config/tmt/templates
## 其他软件包管理器记录

- dnf - tmt - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Test Management Tool | https://github.com/teemtee/tmt
- dnf - tmt+all - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+all from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Extra dependencies for the Test Management Tool | https://github.com/teemtee/tmt
- dnf - tmt+export-polarion - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+export-polarion from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for tmt: export-polarion extras | https://github.com/teemtee/tmt
- dnf - tmt+link-jira - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+link-jira from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for tmt: link-jira extras | https://github.com/teemtee/tmt
- dnf - tmt+prepare-artifact - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+prepare-artifact from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dependencies required for tmt prepare artifact | https://github.com/teemtee/tmt
- dnf - tmt+provision-beaker - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+provision-beaker from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dependencies required for tmt beaker provisioner | https://github.com/teemtee/tmt
- dnf - tmt+provision-bootc - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+provision-bootc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dependencies required for tmt bootc machine provisioner | https://github.com/teemtee/tmt
- dnf - tmt+provision-container - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+provision-container from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dependencies required for tmt container provisioner | https://github.com/teemtee/tmt
- dnf - tmt+provision-mock - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+provision-mock from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dependencies required for tmt mock provisioner | https://github.com/teemtee/tmt
- dnf - tmt+provision-virtual - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+provision-virtual from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dependencies required for tmt virtual machine provisioner | https://github.com/teemtee/tmt
- dnf - tmt+report-junit - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+report-junit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for tmt: report-junit extras | https://github.com/teemtee/tmt
- dnf - tmt+report-polarion - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+report-polarion from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for tmt: report-polarion extras | https://github.com/teemtee/tmt
- dnf - tmt+test-convert - 1.77.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: tmt+test-convert from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dependencies required for tmt test import and export | https://github.com/teemtee/tmt
- MacPorts - tmt: normalized package name match | MacPorts ports tree: devel/tmt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tmt.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
