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:
Python 3.11 is required. PrivateGPT does not support Python 3.10 or 3.12+.
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

