Reading the repo
Reading the repo
Saved setup from 2 h ago
The maintainers included scripts/install-oneapi.bat. Run it from the cloned folder after reading it.
.\scripts\install-oneapi.bat
Will it work on my device?
docs/install.md| Install via | Windows | Mac | Linux | |-------------|---------|------|-------| | conda-forge | ✅ | ✅ | ✅ | | Winget | ✅ | | | | Homebrew | | ✅ | ✅ | | MacPorts | | ✅ | | | Nix | | ✅ | ✅ |
conda-forge provides builds for:
conda install -c conda-forge llama.cpp
mamba install -c conda-forge llama.cpp
# Project-local installation
pixi add llama.cpp
# Global installation
pixi global install llama.cpp
This distribution is managed on conda-forge/llama.cpp-feedstock.
Shall you have any problems, please open an issue on its issue tracker.
winget install llama.cpp
The package is automatically updated with new llama.cpp releases. More info: https://github.com/ggml-org/llama.cpp/issues/8188
brew install llama.cpp
The formula is automatically updated with new llama.cpp releases. More info: https://github.com/ggml-org/llama.cpp/discussions/7668
sudo port install llama.cpp
See also: https://ports.macports.org/port/llama.cpp/details/
nix profile install nixpkgs#llama-cpp
For flake enabled installs.
Or
nix-env --file '<nixpkgs>' --install --attr llama-cpp
For non-flake enabled installs.
This expression is automatically updated within the nixpkgs repo.
Needs Git: xcode-select --install. The repo uses git submodules, so the clone fetches them too.
git clone --recurse-submodules https://github.com/ggml-org/llama.cpp.git cd llama.cpp
Python >=3.10,<3.15, C/C++ compiler, CMake 3.14...3.28
brew install python@3.10 pipx install poetry xcode-select --install brew install cmake
poetry install cmake -S . -B build -DCMAKE_BUILD_TYPE=Release cmake --build build
poetry run pytest
A few options to get llama.cpp installed on your machine:
# curl
curl -LsSf https://llama.app/install.sh | sh
# powershell
irm https://llama.app/install.ps1 | iex
Once installed:
# Download and run a model directly from Hugging Face
llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF
# Launch OpenAI-compatible API server
llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF
<table align="center">
<tr>
<td align="center" width=50%>
<img width="1310" height="888" alt="VLM session with `llama cli`" src="https://github.com/user-attachments/assets/88726b48-1713-48aa-a525-95a02e78afc4" />
<i>VLM session with <b>llama cli</b></i>
</td>
<td align="center">
<img width="1392" height="958" alt="Built-in web UI against `llama serve` running Qwen 3.6" src="https://github.com/user-attachments/assets/b402f972-2e32-4def-8771-8d849f08cf2e" />
<i>Built-in web UI against <b>llama serve</b></i>
</td>
</tr>
<table>No reports for macOS yet.
Claude reads the 13 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.