---
title: How to Install llama.cpp on Windows, Mac, Linux, and Termux (2026): A Complete Guide
description: Complete llama.cpp installation guide for Windows (CUDA/Vulkan/WSL), macOS (Metal), Linux, and Android Termux with one-line scripts and setup tips.
date: 2026-07-01T21:26:00.000Z
author: Nishchay Kaushik
tags: ai, llamacpp, termux, android, windows, linux, mac, selfhosted, local-llm, tutorial
---

# How to Install llama.cpp on Windows, Mac, Linux, and Termux (2026): A Complete Guide


