Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, Nix, apk, scoop 安装 whisper-cpp

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install whisper-cpp

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install whisper-cpp

Fedora Rawhide package metadata · whisper-cpp · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#whisper-cpp

nixpkgs package indexes · pkgs/by-name/wh/whisper-cpp/package.nix · 来源: api.github.com

Alpine Linux apk已验证 · 92%
sudo apk add whisper-server

Alpine Linux edge package indexes · whisper-server · 来源: dl-cdn.alpinelinux.org

Windows

Scoop已验证 · 92%
scoop install main/whisper-cpp

Scoop official bucket manifest trees · bucket/whisper-cpp.json · 来源: api.github.com

概览

软件包摘要

Port of OpenAI's Whisper model in C/C++

命令和别名

  • whisper-bench
  • whisper-cli
  • whisper-command
  • whisper-lsp
  • whisper-quantize
  • whisper-server
  • whisper-stream
  • whisper-talk-llama
  • whisper-vad-speech-segments

历史

项目历史与用法

whisper.cpp is Georgi Gerganov's C and C++ runtime for OpenAI's Whisper speech-recognition models. It appeared days after OpenAI released Whisper in September 2022 and turned the Python/PyTorch reference implementation into a small, portable, dependency-light local transcription tool.

项目历史

OpenAI introduced Whisper on September 21, 2022 as an automatic speech recognition system trained on 680,000 hours of multilingual and multitask supervised data. The original OpenAI repository positioned Whisper as a general-purpose model for multilingual transcription, translation to English, and language identification.

The whisper.cpp repository was created on September 25, 2022. Its README describes the project as a port of OpenAI's Whisper model in C/C++, with the high-level model implementation contained in `whisper.h` and `whisper.cpp` and the lower-level tensor work handled by ggml. That made Whisper usable in environments where Python, PyTorch, or CUDA were undesirable or unavailable.

The project grew with ggml-style model conversion, quantization, platform backends, examples, bindings, and command-line tools. Its model documentation explains that original OpenAI PyTorch models are converted to ggml format for loading from C/C++, while project discussions and release notes document features such as integer quantization, streaming, server usage, and embedded-device experiments.

采用历史

whisper.cpp became one of the canonical local-AI command-line packages because it made a large neural speech model feel like a normal Unix tool: download a converted model, run an executable, and transcribe local audio without a cloud service. The upstream GitHub repository reported more than 51,000 stars and more than 5,700 forks via GitHub's API on July 2, 2026.

Its adoption also matters historically because it helped establish the ggml pattern later associated with local inference projects: compact C/C++ runtimes, quantized model files, CPU-first portability, and optional acceleration paths. In package-manager culture, whisper.cpp is the package people reach for when they want OpenAI Whisper behavior in scripts, media pipelines, offline transcription jobs, and low-power devices.

使用方式

Typical usage is local speech-to-text: converting or downloading a ggml-format Whisper model, running `whisper-cli` or related tools against audio, and emitting transcripts or timestamps. The repository also ships examples and executables for benchmarking, streaming microphone input, running a local server, quantizing models, and integrating with other applications through a C API or bindings.

The package is especially useful when privacy, offline operation, repeatable batch processing, or hardware portability matter more than managed cloud transcription. Users choose model size and quantization level as the tradeoff knob between accuracy, memory footprint, and speed.

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

For package nerds, whisper.cpp is a landmark local-inference package: it compressed a research model into a buildable C/C++ artifact that could live comfortably in Homebrew, Linux distributions, Docker images, mobile apps, WebAssembly experiments, and single-purpose transcription workflows.

It also became a reference point for later local-AI ports. When people compare local speech runtimes, they often distinguish broad cross-platform portability in whisper.cpp from Apple-specific Core ML and Neural Engine approaches such as WhisperKit, or Python/GPU-oriented projects such as faster-whisper.

时间线

  • 2022-09-21: OpenAI introduced Whisper and released model code and weights for multilingual speech recognition.
  • 2022-09-25: The whisper.cpp GitHub repository was created.
  • 2023: whisper.cpp discussions and releases documented integer quantization, streaming, and embedded-device experiments.
  • 2026-07-02: GitHub API metadata showed the repository above 51,000 stars, reflecting broad adoption in the local-AI ecosystem.

Related projects

  • OpenAI Whisper is the upstream model and Python reference implementation.
  • ggml is the low-level machine-learning library and model-format ecosystem used by whisper.cpp.
  • WhisperKit targets Apple Silicon with Swift and Core ML rather than whisper.cpp's cross-platform C/C++ approach.

来源

  • OpenAI Whisper announcement: https://openai.com/index/whisper/
  • OpenAI Whisper repository: https://github.com/openai/whisper
  • whisper.cpp GitHub API metadata: https://api.github.com/repos/ggml-org/whisper.cpp
  • whisper.cpp model documentation: https://github.com/ggml-org/whisper.cpp/blob/master/models/README.md
  • whisper.cpp repository and README: https://github.com/ggml-org/whisper.cpp
  • whisper.cpp v1.4.0 quantization discussion: https://github.com/ggml-org/whisper.cpp/discussions/838

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:stream,server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
whisper-benchcli全局可执行文件
whisper-clicli全局可执行文件
whisper-commandcli全局可执行文件
whisper-lspcli全局可执行文件
whisper-quantizecli全局可执行文件
whisper-servercli全局可执行文件
whisper-streamcli全局可执行文件
whisper-talk-llamacli全局可执行文件
whisper-vad-speech-segmentscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.9.1
管理器更新时间2026-06-19
本地数据OK
上游当前
检测到的最新版本v1.9.1

https://github.com/ggml-org/whisper.cpp

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:whisper-cpp
版本1.9.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/whisper-cpp
主页https://github.com/ggml-org/whisper.cpp
仓库https://github.com/ggml-org/whisper.cpp
上游文档https://github.com/ggml-org/whisper.cpp#readme
许可证MIT
源码归档https://github.com/ggml-org/whisper.cpp/archive/refs/tags/v1.9.1.tar.gz
最后更新2026-06-19T09:02:25Z
Pulseupdated
依赖ggml, sdl2-compat
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项whisper-cpp requires GGML model files to work. These are not downloaded by default. To obtain model files (.bin), visit one of these locations: https://huggingface.co/ggerganov/whisper.cpp/tree/main https://ggml.ggerganov.com/

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewhisper-cpp
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

whisper-cpp

nix profile install nixpkgs#whisper-cpp
  • normalized package name match
  • 匹配方式:Whisper Cpp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wh/whisper-cpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

whisper-server 1.8.4-r2

whisper.cpp server

https://github.com/ggerganov/whisper.cpp

sudo apk add whisper-server
  • License: MIT
  • Architecture: x86_64
  • Source Package: whisper.cpp
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Whisper Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: whisper-server from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

whisper-server-openrc 1.8.4-r2

whisper.cpp server (OpenRC init scripts)

https://github.com/ggerganov/whisper.cpp

sudo apk add whisper-server-openrc
  • License: MIT
  • Architecture: x86_64
  • Source Package: whisper.cpp
  • 1 依赖
  • normalized package name match
  • 匹配方式:Whisper Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: whisper-server-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

whisper.cpp 1.8.4-r2

Port of OpenAI's Whisper model in C/C++

https://github.com/ggerganov/whisper.cpp

sudo apk add whisper.cpp
  • License: MIT
  • Architecture: x86_64
  • Source Package: whisper.cpp
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Whisper Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: whisper.cpp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

whisper.cpp-dev 1.8.4-r2

Port of OpenAI's Whisper model in C/C++ (development files)

https://github.com/ggerganov/whisper.cpp

sudo apk add whisper.cpp-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: whisper.cpp
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Whisper Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: whisper.cpp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

whisper.cpp-libs 1.8.4-r2

Port of OpenAI's Whisper model in C/C++

https://github.com/ggerganov/whisper.cpp

sudo apk add whisper.cpp-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: whisper.cpp
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Whisper Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: whisper.cpp-libs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

whisper.cpp-vulkan 1.8.4-r2

Port of OpenAI's Whisper model in C/C++ (Vulkan backend)

https://github.com/ggerganov/whisper.cpp

sudo apk add whisper.cpp-vulkan
  • License: MIT
  • Architecture: x86_64
  • Source Package: whisper.cpp
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Whisper Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: whisper.cpp-vulkan from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

whisper-cpp 1.8.3-1.fc45

Port of OpenAI's Whisper model in C/C++

https://github.com/ggerganov/whisper.cpp

sudo dnf install whisper-cpp
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: whisper-cpp
  • 10 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Whisper Cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: whisper-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

whisper-cpp-devel 1.8.3-1.fc45

Libraries and headers for whisper-cpp

https://github.com/ggerganov/whisper.cpp

sudo dnf install whisper-cpp-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: whisper-cpp
  • 7 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Whisper Cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: whisper-cpp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
Scoop95%

main/whisper-cpp

scoop install main/whisper-cpp
  • normalized package name match
  • 匹配方式:Whisper Cpp
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/whisper-cpp.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment