# 使用 Homebrew, MacPorts, Nix 安装 yap

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

## 安装

```sh
sudo av install brew:yap
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install yap
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yap
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#yap
```

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

## 软件包事实

- **软件包键:** brew:yap
- **软件包管理器:** Homebrew
- **版本:** 1.2.1
- **来源摘要:** On-device audio transcription using Speech.framework
- **主页:** <https://github.com/finnvoor/yap>
- **仓库:** <https://github.com/finnvoor/yap>
- **最后更新:** 2026-07-20T11:07:32Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- yap (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

yap is a small macOS command-line transcription tool built around Apple's Speech.framework. It turns local audio, video, microphone input, or live system audio into text, subtitle formats, or JSON without sending the core speech-recognition work to a hosted service.

### 项目历史

The public repository was created on 2025-06-15, the same day the first GitHub release, 1.0.0, was published. Its README frames the project around macOS 26 and Apple's on-device Speech.framework, which places it in the wave of local-first media and AI-adjacent command-line tools that appeared as operating systems exposed better speech APIs.

By early 2026 the project had added real-time workflows beyond one-shot file transcription: the README documents `listen` for system audio, `dictate` for microphone input, and `listen-and-dictate` for mixed meeting-style transcription.

### 采用历史

yap's adoption story is still young and mostly package-manager/toolbox adoption rather than platform adoption. Its upstream README lists Homebrew and Mint installation, and the GitHub repository had more than a thousand stars by July 2026, enough signal for a niche macOS CLI but not enough history for a long institutional narrative.

### 使用方式

Users run `yap transcribe` or the shorter `yap <file>` style workflows to convert audio or video to text, SRT, WebVTT, or JSON. The README also shows package-nerd-friendly pipelines: downloading audio with yt-dlp, piping transcripts into an LLM, or producing caption files for video.

The live modes make it useful as a terminal-native dictation and meeting transcription tool, with macOS Screen Recording and Microphone permissions as the practical trust boundary.

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

yap is significant as a thin, scriptable wrapper over a native macOS speech-recognition stack. For package nerds, the interesting part is not a new speech model but the packaging of platform speech APIs into composable Unix-style commands and text/subtitle outputs.

### 时间线

- 2025-06-15: GitHub repository is created and release 1.0.0 is published.
- 2026-02-15: Release 1.2.0 is published.
- 2026: README documents file transcription, live system audio transcription, microphone dictation, and combined listen-and-dictate workflows.

### Related projects

- Apple Speech.framework is the native macOS speech-recognition API used by yap.
- yt-dlp and llm appear in upstream examples as common pipeline companions.

### 来源

- <https://api.github.com/repos/finnvoor/yap>
- <https://api.github.com/repos/finnvoor/yap/releases?per_page=100>
- <https://github.com/finnvoor/yap>
- <https://raw.githubusercontent.com/finnvoor/yap/main/README.md>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - yap: normalized package name match | nixpkgs package indexes: pkgs/by-name/ya/yap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - yap: normalized package name match | MacPorts ports tree: lang/yap/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/yap.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yap.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
