Automic VaultAutomic Vault

brew

llama.cpp mit Homebrew, dnf, Nix, apk, MacPorts, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für llama.cpp in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install llama.cpp

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install llama.cpp

MacPorts ports tree · llm/llama.cpp/Portfile · Quelle: api.github.com

Linux

Fedora dnfverifiziert · 92%
sudo dnf install llama-cpp

Fedora Rawhide package metadata · llama-cpp · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#llama-cpp

nixpkgs package indexes · pkgs/by-name/ll/llama-cpp/package.nix · Quelle: api.github.com

Alpine Linux apkverifiziert · 92%
sudo apk add llama-server

Alpine Linux edge package indexes · llama-server · Quelle: dl-cdn.alpinelinux.org

Windows

Windows Package Managerverifiziert · 92%
winget install --id ggml.llamacpp -e

Windows Package Manager source index · ggml.llamacpp · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

LLM inference in C/C++

Befehle und Aliase

  • llama
  • llama-batched
  • llama-batched-bench
  • llama-bench
  • llama-cli
  • llama-completion
  • llama-debug
  • llama-debug-template-parser
  • llama-diffusion-cli
  • llama-embedding
  • llama-eval-callback
  • llama-finetune
  • llama-fit-params
  • llama-gen-docs
  • llama-gguf
  • llama-gguf-hash
  • llama-gguf-split
  • llama-idle
  • llama-imatrix
  • llama-lookahead
  • llama-lookup
  • llama-lookup-create
  • llama-lookup-merge
  • llama-lookup-stats
  • llama-mtmd-cli
  • llama-parallel
  • llama-passkey
  • llama-perplexity
  • llama-quantize
  • llama-results
  • llama-retrieval
  • llama-server

Verlauf

Projektgeschichte und Nutzung

llama.cpp is one of the defining packages of the local-LLM era: a C/C++ inference stack that made it practical to run quantized transformer models on laptops, desktops, servers, and small devices without a heavyweight Python runtime.

Projektgeschichte

The repository was created on GitHub on March 10, 2023, shortly after Meta's LLaMA model release changed the center of gravity for local language-model experimentation. The README states the project goal as LLM inference with minimal setup and strong performance across local and cloud hardware.

The project is closely tied to ggml. Its README describes llama.cpp as the main playground for developing new ggml features, and the implementation grew around plain C/C++, integer quantization, CPU backends, and hardware accelerators such as Metal, CUDA, Vulkan, SYCL, HIP, and related GPU paths.

As model support broadened beyond the original LLaMA family, llama.cpp became a runtime and tooling umbrella: converters, quantizers, benchmarking tools, embedding tools, an OpenAI-compatible server, multimodal support, and many model-family loaders are represented in the command set and documentation.

Adoptionsgeschichte

Package adoption spread because llama.cpp lowered the cost of trying local inference: build from source, install from Homebrew, Nix, winget, conda-forge, Docker, or download release binaries, then run a model file or fetch one from Hugging Face-oriented workflows.

The README's bindings list shows the surrounding ecosystem that formed around the C/C++ core, including Python, Go, Node.js, Ruby, browser/Wasm, editor-completion plugins, and server clients. That ecosystem made llama.cpp both an end-user CLI and a library/runtime target for other packages.

Its high-frequency build-tag release pattern reflects active downstream pressure: package managers, bindings, model hubs, and local-AI applications all depend on fast propagation of backend, quantization, and model-format changes.

Wie es verwendet wird

Users run llama-cli for local prompts, llama-server for an OpenAI-compatible HTTP API, llama-bench for performance testing, llama-quantize for smaller model files, and many auxiliary tools for embeddings, perplexity, retrieval, tokenization, and model-file manipulation.

The package is especially useful when a developer wants a self-contained inference engine: compile once, point it at a model, and choose a CPU/GPU backend without adopting a full ML framework stack.

Warum Paket-Nerds sich dafür interessieren

For package maintainers, llama.cpp is unusually dynamic: hardware backend flags, model-format transitions, CLI renames, bundled tools, and release cadence all matter. It turned local AI into something package managers had to treat like a fast-moving systems tool rather than a single Python application.

It is also a packaging bridge between model hubs and Unix tooling. The same project can be installed as a formula, used as a server daemon, linked by language bindings, wrapped by desktop apps, or embedded in another inference product.

Zeitleiste

  • 2023: ggml-org/llama.cpp repository created on March 10.
  • 2023: The project manifesto discussion documented goals and direction for the early community.
  • 2024: llama.cpp issue trackers began maintaining separate API changelogs for libllama and llama-server.
  • 2025: Multimodal support reached llama-server through the upstream pull request and documentation referenced from the README.
  • 2026: Homebrew, Nix, winget, conda-forge, Docker, and release binaries were documented installation paths in the upstream README.

Related projects

  • ggml is the closest related project, because llama.cpp is the main development playground for that tensor library.
  • Important downstream and adjacent projects include llama-cpp-python, node-llama-cpp, go-llama.cpp, wllama, llama.vscode, llama.vim, and applications that wrap llama-server's OpenAI-compatible API.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für llama.cpp wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 2 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
llamacliglobales Executable
llama-batchedcliglobales Executable
llama-batched-benchcliglobales Executable
llama-benchcliglobales Executable
llama-clicliglobales Executable
llama-completioncliglobales Executable
llama-debugcliglobales Executable
llama-debug-template-parsercliglobales Executable
llama-diffusion-clicliglobales Executable
llama-embeddingcliglobales Executable
llama-eval-callbackcliglobales Executable
llama-finetunecliglobales Executable
llama-fit-paramscliglobales Executable
llama-gen-docscliglobales Executable
llama-ggufcliglobales Executable
llama-gguf-hashcliglobales Executable
llama-gguf-splitcliglobales Executable
llama-idlecliglobales Executable
llama-imatrixcliglobales Executable
llama-lookaheadcliglobales Executable
llama-lookupcliglobales Executable
llama-lookup-createcliglobales Executable
llama-lookup-mergecliglobales Executable
llama-lookup-statscliglobales Executable
llama-mtmd-clicliglobales Executable
llama-parallelcliglobales Executable
llama-passkeycliglobales Executable
llama-perplexitycliglobales Executable
llama-quantizecliglobales Executable
llama-resultscliglobales Executable
llama-retrievalcliglobales Executable
llama-servercliglobales Executable
llama-simplecliglobales Executable
llama-simple-chatcliglobales Executable
llama-speculativecliglobales Executable
llama-speculative-simplecliglobales Executable
llama-template-analysiscliglobales Executable
llama-tokenizecliglobales Executable
llama-ttscliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version9910
Manager aktualisiert2026-07-08
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

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

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:llama.cpp
Version9910
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/llama.cpp
Homepagehttps://llama.app
Repositoryhttps://github.com/ggml-org/llama.cpp
Upstream-Dokumentationhttps://github.com/ggml-org/llama.cpp#readme
LizenzMIT
Quellarchivhttps://github.com/ggml-org/llama.cpp.git
Zuletzt aktualisiert2026-07-08T09:32:56Z
Pulseupdated
Abhängigkeitenggml, openssl@3
Build-Abhängigkeitencmake
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

llama-cpp

nix profile install nixpkgs#llama-cpp
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ll/llama-cpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

llama-server 0.0.9564-r0

llama.cpp server

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

sudo apk add llama-server
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama-server from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

llama-server-openrc 0.0.9564-r0

llama.cpp server (OpenRC init scripts)

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

sudo apk add llama-server-openrc
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama-server-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

llama.cpp 0.0.9564-r0

LLM inference in C/C++ (with Vulkan GPU acceleration)

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

sudo apk add llama.cpp
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama.cpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

llama.cpp-cpu 0.0.9564-r0

LLM inference in C/C++ (with Vulkan GPU acceleration)

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

sudo apk add llama.cpp-cpu
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama.cpp-cpu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

llama.cpp-dev 0.0.9564-r0

LLM inference in C/C++ (with Vulkan GPU acceleration) (development files)

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

sudo apk add llama.cpp-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama.cpp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

llama.cpp-extras 0.0.9564-r0

llama.cpp additional binaries

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

sudo apk add llama.cpp-extras
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama.cpp-extras from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

llama.cpp-libs 0.0.9564-r0

LLM inference in C/C++ (with Vulkan GPU acceleration) (shared libraries)

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

sudo apk add llama.cpp-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama.cpp-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

llama.cpp-vulkan 0.0.9564-r0

LLM inference in C/C++ (with Vulkan GPU acceleration)

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

sudo apk add llama.cpp-vulkan
  • License: MIT
  • Architecture: x86_64
  • Source Package: llama.cpp
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: llama.cpp-vulkan from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

llama-cpp b8064-1.fc45

Port of Facebook's LLaMA model in C/C++

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

sudo dnf install llama-cpp
  • License: MIT AND Apache-2.0 AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: llama-cpp
  • 12 Abhängigkeiten
  • 7 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: llama-cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

llama-cpp-devel b8064-1.fc45

Port of Facebook's LLaMA model in C/C++

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

sudo dnf install llama-cpp-devel
  • License: MIT AND Apache-2.0 AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: llama-cpp
  • 9 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: llama-cpp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

llama.cpp

sudo port install llama.cpp
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
MacPorts ports tree · api.github.com · MacPorts ports tree: llm/llama.cpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

ggml.llamacpp

winget install --id ggml.llamacpp -e
  • normalized package name match
  • Abgeglichen nach: Llama Cpp
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: ggml.llamacpp from https://cdn.winget.microsoft.com/cache/source.msix

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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