# 使用 Homebrew, apk, Nix, pacman 安装 openapi-tui

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

## 安装

```sh
sudo av install brew:openapi-tui
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install openapi-tui
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add openapi-tui
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#openapi-tui
```

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

- pacman (92%):

```sh
sudo pacman -S openapi-tui
```

  证据: Arch Linux sync databases: openapi-tui from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:openapi-tui
- **软件包管理器:** Homebrew
- **版本:** 0.10.2
- **来源摘要:** TUI to list, browse and run APIs defined with openapi spec
- **主页:** <https://github.com/zaghaghi/openapi-tui>
- **仓库:** <https://github.com/zaghaghi/openapi-tui>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- openapi-tui (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

openapi-tui is a Rust terminal UI for loading OpenAPI 3.0 and 3.1 specifications, browsing their operations, and making requests from the terminal. It targets developers who want a keyboard-driven OpenAPI explorer without opening a browser-based documentation UI.

### 项目历史

The GitHub repository was created on March 2, 2024. The project README presents it as a TUI for listing, browsing, and running APIs from local JSON/YAML files or remote OpenAPI URLs.

### 采用历史

The project is distributed through Cargo, Docker, Homebrew, Arch Linux, Nix/NixOS, Alpine testing packages, and prebuilt GitHub release artifacts. That distribution pattern matches Rust CLI/TUI tools: source installation with `cargo install`, binary packages for users, and Docker for quick isolated execution.

### 使用方式

Users run `openapi-tui --input <PATH>` with a local or remote OpenAPI document. The CLI supports repeated global headers, multiple servers, filtering, nested component browsing, request history, response saving, jq filtering, and copying requests as curl or httpie commands.

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

openapi-tui is notable as a small, terminal-native alternative to Swagger UI-style browsing. It shows the OpenAPI tooling ecosystem expanding beyond generators and validators into lightweight interactive clients.

### 时间线

- March 2, 2024: the GitHub repository was created. July 27, 2024: GitHub releases list 0.9.4. March 7, 2025: GitHub releases list 0.10.2.

### Related projects

- The project sits beside browser-based OpenAPI viewers, API clients, and Rust TUI tooling such as Ratatui, which appears in the repository topics.

### 来源

- <https://api.github.com/repos/zaghaghi/openapi-tui>
- <https://archlinux.org/packages/extra/x86_64/openapi-tui/>
- <https://crates.io/crates/openapi-tui>
- <https://formulae.brew.sh/formula/openapi-tui>
- <https://github.com/zaghaghi/openapi-tui>
- <https://pkgs.alpinelinux.org/package/edge/testing/x86/openapi-tui>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - openapi-tui: normalized package name match | nixpkgs package indexes: pkgs/by-name/op/openapi-tui/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - openapi-tui - 0.9.4-r1: normalized package name match | Alpine Linux edge package indexes: openapi-tui from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Terminal UI to list, browse and run APIs defined with openapi spec | https://github.com/zaghaghi/openapi-tui
- pacman - openapi-tui - 0.10.2-2: normalized package name match | Arch Linux sync databases: openapi-tui from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Terminal UI to list, browse and run APIs defined with OpenAPI spec | https://github.com/zaghaghi/openapi-tui


## Combined YAML source

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


## 来源

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