One installer to put llama.cpp v1.x on any device — it auto-detects your hardware and picks the best backend (CUDA → ROCm → Vulkan → CPU/Metal), then lets you install, switch and remove versions like a proper package manager.
curl one-liner (sh)
curl -LsSf https://huggingface.co/datasets/broadfield/llamainstall-scripts/resolve/main/llamainstall.sh | sh
or download & run locally:
llamainstall install
irm one-liner (iex)
irm https://huggingface.co/datasets/broadfield/llamainstall-scripts/resolve/main/llamainstall.ps1 | iex
Installs llama.exe into your PATH.
Runs probes for NVIDIA (CUDA), AMD (ROCm), Vulkan and CPU feature-sets, then downloads the exact tuned binary — no compile flags, no choices.
install, use <ver>, list, remove — keep stable and nightly builds side by side and switch instantly.
llamainstall doctor prints your OS, CPU SIMD features, GPU and RAM so you know exactly what you're running on.
llamainstall serve grabs a small GGUF model from Hugging Face and launches the OpenAI-compatible llama-server.
| Device | How | Notes |
|---|---|---|
| 🐳 Docker | docker run -p 8080:8080 -v ./models:/models ghcr.io/ggml-org/llama.cpp:server | Official image, CUDA/Metal variants available |
| 📱 Android (Termux) | build from source via docs/android.md | ARM64, Vulkan backend supported |
| 🖥️ RISC-V | build from source (RVV kernels) | see llama.cpp build guide |
| 🪟 WSL2 | use the Linux script inside WSL2 | CUDA passes through with recent drivers |
| Command | Effect |
|---|---|
llamainstall install | Install the latest build and make it active |
llamainstall install b12359 | Install a specific nightly build |
llamainstall use <version> | Switch the active version |
llamainstall list | Show installed versions |
llamainstall remove <version> | Delete a version |
llamainstall doctor | Report hardware + recommended backend |
llamainstall serve | Run llama-server with a small default model |
llamainstall uninstall | Remove everything |
Built on top of the official llama.cpp binary bucket (ggml-org/install.sh), which is updated with every release. The binaries come from the llama.cpp project itself.
Peach color boosted — llama.cpp v1.0.0 is the current stable release (released Nov 13, 2025).
Want to contribute? All scripts live in the public dataset: broadfield/llamainstall-scripts