Package Install
This is the recommended installation method for developers who want to run PrivateGPT against an existing LLM server (Ollama, LM Studio, etc.) without cloning the repository.
PrivateGPT package files are hosted at https://wheels.privategpt.dev/packages/. uv uses that location to find the PrivateGPT release and continues to resolve public dependencies from PyPI by default.
Install
macOS (Homebrew)
uv (recommended, any platform)
Upgrade:
Reproducible install (pinned dependencies)
The commands above install the newest compatible version of each dependency. To install exactly the dependency versions a release was tested with (the Homebrew formula already does this), add that release’s constraints file:
macOS / Linux
Windows (PowerShell)
Offline bundle
Each GitHub release includes a private-gpt-<version>-core-<platform> archive for Linux x86_64 and arm64, macOS arm64, and Windows x86_64. It contains every pinned wheel, so the install needs no network access and does not depend on PyPI staying available. Only Python 3.11 is required:
macOS / Linux
Windows (PowerShell)
--require-hashes checks every file against the SHA-256 recorded at release time. --no-compile skips precompiling the bundled SQL parser tables, which otherwise needs about 5 GB of memory during the install.
Python 3.11 is required. PrivateGPT does not support Python 3.10 or 3.12+. With uv, --python 3.11 downloads a managed interpreter if none is installed.
System dependencies
PrivateGPT starts without any of these, but some document features need native tools. The Docker image and the Homebrew formula already include libmagic.
Verify
macOS / Linux
Windows (PowerShell)
Windows (CMD)
Run
After installing, set OPENAI_API_BASE to your LLM server and start:
macOS / Linux
Windows (PowerShell)
Windows (CMD)
PrivateGPT starts on port 8080 by default. Change it with private-gpt serve --port <port>.
Data storage
All application data (vector store, ingested documents, models, caches) is stored under a single home directory:
Override the location with PGPT_HOME:
Key environment variables
What’s next?
- Choose an LLM server — compare Ollama, LM Studio, LlamaCPP, vLLM
- Local with uv — source install, hot reload, and detailed model configuration
- API Reference — start building

