Runs on: Windows WSL2 macOS Linux Docker
-
1 The runner
Ollama
ollama/ollamaPull a model, run it, done. It is the layer that made local models an afternoon rather than a weekend, and it stays out of the way afterwards.
Ollama is a tool for running large language models locally, offering easy setup for macOS, Windows, Linux, and Docker, along with a library of models and quickstart guides for customization and integration github | github profile
irm https://ollama.com/install.ps1 | iex -
2 The engine
llama.cpp
ggml-org/llama.cppCPU, GPU and Apple Silicon inference in C++, and the foundation most of the rest of this page is standing on. Quantisation happens here, which is where the speed comes from.
C/C++ inference. CPU, GPU, Apple Silicon. Foundation of local AI
irm https://llama.app/install.ps1 | iex -
3 The zero-setup option
Llamafile
mozilla-ai/llamafileA model and its runtime as one executable file. Nothing to install and nothing to uninstall, which makes it the right thing to hand to somebody else.
Mozilla project that packages LLMs into single executable files that run anywhere
git clone https://github.com/Mozilla-Ocho/llamafile.git -
4 The chat surface
Open WebUI
open-webui/open-webuiA self-hosted interface with access control and extensions, so the local stack has a front door other people can be given a key to.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
pip install open-webui -
5 The consumer-hardware path
GPT4All
nomic-ai/gpt4allBuilt for the machine you already have rather than the one you would need. Worth trying first if the honest answer about your GPU is that there isn't one.
OSS local chat. Consumer hardware
pip install gpt4all -
6 Your own documents
Local GPT
PromtEngineer/localGPTRetrieval over local files with a local model doing the reading, which is the whole point: the documents never become somebody else's training data. Two source lists carry it.
LocalGPT is an open-source project for secure, private interactions with documents locally, featuring comprehensive model support, embeddings, API for RAG applications, and GUI options, with a focus on privacy and local data processing github
git clone https://github.com/PromtEngineer/localGPT.git -
7 When one machine is not enough
vLLM
vllm-project/vllmHigh-throughput serving with paged attention. This is the step after a laptop -- still your hardware, but now several people can use it at once.
A high-throughput and memory-efficient inference and serving engine for LLMs
git clone https://github.com/vllm-project/vllm.git
The whole set, in one paste
Every install command above, in the order they are listed. Read them before you run them — they are other people's one-liners, and 2 of them pipe a download straight into a shell.
irm https://ollama.com/install.ps1 | iex irm https://llama.app/install.ps1 | iex git clone https://github.com/Mozilla-Ocho/llamafile.git pip install open-webui pip install gpt4all git clone https://github.com/PromtEngineer/localGPT.git git clone https://github.com/vllm-project/vllm.git