macOS
brew install llama.cpplocal Homebrew formula metadata
sudo port install llama.cppMacPorts ports tree · llm/llama.cpp/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für llama.cpp in AI-Agent-Workflows.
Installation
brew install llama.cpplocal Homebrew formula metadata
sudo port install llama.cppMacPorts ports tree · llm/llama.cpp/Portfile · Quelle: api.github.com
sudo dnf install llama-cppFedora Rawhide package metadata · llama-cpp · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#llama-cppnixpkgs package indexes · pkgs/by-name/ll/llama-cpp/package.nix · Quelle: api.github.com
sudo apk add llama-serverAlpine Linux edge package indexes · llama-server · Quelle: dl-cdn.alpinelinux.org
winget install --id ggml.llamacpp -eWindows Package Manager source index · ggml.llamacpp · Quelle: cdn.winget.microsoft.com
Überblick
LLM inference in C/C++
Verlauf
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.
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.
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.
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.
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.
Sicherheitslage
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.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
llama | cli | globales Executable | |
llama-batched | cli | globales Executable | |
llama-batched-bench | cli | globales Executable | |
llama-bench | cli | globales Executable | |
llama-cli | cli | globales Executable | |
llama-completion | cli | globales Executable | |
llama-debug | cli | globales Executable | |
llama-debug-template-parser | cli | globales Executable | |
llama-diffusion-cli | cli | globales Executable | |
llama-embedding | cli | globales Executable | |
llama-eval-callback | cli | globales Executable | |
llama-finetune | cli | globales Executable | |
llama-fit-params | cli | globales Executable | |
llama-gen-docs | cli | globales Executable | |
llama-gguf | cli | globales Executable | |
llama-gguf-hash | cli | globales Executable | |
llama-gguf-split | cli | globales Executable | |
llama-idle | cli | globales Executable | |
llama-imatrix | cli | globales Executable | |
llama-lookahead | cli | globales Executable | |
llama-lookup | cli | globales Executable | |
llama-lookup-create | cli | globales Executable | |
llama-lookup-merge | cli | globales Executable | |
llama-lookup-stats | cli | globales Executable | |
llama-mtmd-cli | cli | globales Executable | |
llama-parallel | cli | globales Executable | |
llama-passkey | cli | globales Executable | |
llama-perplexity | cli | globales Executable | |
llama-quantize | cli | globales Executable | |
llama-results | cli | globales Executable | |
llama-retrieval | cli | globales Executable | |
llama-server | cli | globales Executable | |
llama-simple | cli | globales Executable | |
llama-simple-chat | cli | globales Executable | |
llama-speculative | cli | globales Executable | |
llama-speculative-simple | cli | globales Executable | |
llama-template-analysis | cli | globales Executable | |
llama-tokenize | cli | globales Executable | |
llama-tts | cli | globales Executable |
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.
https://github.com/ggml-org/llama.cpp
Installationsmetadaten
| Paketschlüssel | brew:llama.cpp |
|---|---|
| Version | 9910 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/llama.cpp |
| Homepage | https://llama.app |
| Repository | https://github.com/ggml-org/llama.cpp |
| Upstream-Dokumentation | https://github.com/ggml-org/llama.cpp#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/ggml-org/llama.cpp.git |
| Zuletzt aktualisiert | 2026-07-08T09:32:56Z |
| Pulse | updated |
| Abhängigkeiten | ggml, openssl@3 |
| Build-Abhängigkeiten | cmake |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | llama.cpp |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
llama-cpp
nix profile install nixpkgs#llama-cppllama-server 0.0.9564-r0
llama.cpp server
https://github.com/ggml-org/llama.cpp
sudo apk add llama-serverllama-server-openrc 0.0.9564-r0
llama.cpp server (OpenRC init scripts)
https://github.com/ggml-org/llama.cpp
sudo apk add llama-server-openrcllama.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.cppllama.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-cpullama.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-devllama.cpp-extras 0.0.9564-r0
llama.cpp additional binaries
https://github.com/ggml-org/llama.cpp
sudo apk add llama.cpp-extrasllama.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-libsllama.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-vulkanllama-cpp b8064-1.fc45
Port of Facebook's LLaMA model in C/C++
https://github.com/ggerganov/llama.cpp
sudo dnf install llama-cppllama-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-develllama.cpp
sudo port install llama.cppggml.llamacpp
winget install --id ggml.llamacpp -eQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.