llamainstall.

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.

✅ v1.0.0 ready 🐧 Linux 🍎 macOS 🪟 Windows 🐳 Docker 📱 Android

Install in one line

🍎 macOS / 🐧 Linux / FreeBSD

curl one-liner (sh)

curl -LsSf https://huggingface.co/datasets/broadfield/llamainstall-scripts/resolve/main/llamainstall.sh | sh

or download & run locally:

llamainstall install

🪟 Windows (PowerShell)

irm one-liner (iex)

irm https://huggingface.co/datasets/broadfield/llamainstall-scripts/resolve/main/llamainstall.ps1 | iex

Installs llama.exe into your PATH.

What you get

🧠 Hardware auto-detect

Runs probes for NVIDIA (CUDA), AMD (ROCm), Vulkan and CPU feature-sets, then downloads the exact tuned binary — no compile flags, no choices.

📦 Version manager

install, use <ver>, list, remove — keep stable and nightly builds side by side and switch instantly.

🩺 Doctor

llamainstall doctor prints your OS, CPU SIMD features, GPU and RAM so you know exactly what you're running on.

🚀 One command to serve

llamainstall serve grabs a small GGUF model from Hugging Face and launches the OpenAI-compatible llama-server.

Beyond the basics

DeviceHowNotes
🐳 Dockerdocker run -p 8080:8080 -v ./models:/models ghcr.io/ggml-org/llama.cpp:serverOfficial image, CUDA/Metal variants available
📱 Android (Termux)build from source via docs/android.mdARM64, Vulkan backend supported
🖥️ RISC-Vbuild from source (RVV kernels)see llama.cpp build guide
🪟 WSL2use the Linux script inside WSL2CUDA passes through with recent drivers

Commands

CommandEffect
llamainstall installInstall the latest build and make it active
llamainstall install b12359Install a specific nightly build
llamainstall use <version>Switch the active version
llamainstall listShow installed versions
llamainstall remove <version>Delete a version
llamainstall doctorReport hardware + recommended backend
llamainstall serveRun llama-server with a small default model
llamainstall uninstallRemove 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