Installation Guide
Installation via Dev Containers
If you use VS Code or GitHub Codespaces, you can quickly set up a development environment using Dev Containers. This method provides a consistent, pre-configured environment with all necessary dependencies.
Prerequisites for Dev Containers are:
- VS Code with the Dev Containers extension installed
 - Docker Desktop (for local development)
 - Git
 
After cloning repository, when prompted "Reopen in Container", click on it. Alternatively, you can press Ctrl+Shift+P, type "Dev Containers: Reopen in Container" and press Enter.
VS Code will build the dev container and set up the environment automatically. This process includes:
- Installing all system dependencies
 - Setting up Python with the correct version
 - Installing VS Code extensions
 - Installing uv and project dependencies
 - Installing PostgreSQL
 - Configuring pre-commit hooks
 
Once the container is built and running, you'll have a fully configured development environment ready to use.
Installation from source
Prerequisites
- Linux OS. If you use Windows, you should install Linux either via Virtualbox or Windows Subsystem for Linux.
 gitvirtualenvCcompiler and development libraries needed to build dependencies
Package installation by OS
- 
Debian or Ubuntu:
sudo apt install git python3-pip python3-venv python3-dev gcc libffi-dev libsasl2-dev libssl-dev libpq-dev libjpeg8-dev zlib1g-dev xmlsec1 libldap2-dev liblzma-dev libxslt1-dev libxml2-dev libbz2-dev libreadline-dev libsqlite3-dev - 
OS X:
brew install openssl; export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"; export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS" 
Installation steps
Install uv
1 |  | 
Install pyenv
1 2 3  |  | 
Get the code
1 2  |  | 
Install Waldur in development mode
1 2 3  |  | 
NB: If you use a machine with Apple M1 CPU, run this before:
1 2 3 4  |  | 
Create and edit settings file
1 2  |  | 
Database setup
Initialize PostgreSQL database:
1 2 3  |  | 
Add a password waldur for this user:
1 2 3  |  | 
Final Setup Steps
Run migrations:
1 |  | 
Collect static files:
1 |  | 
Start Waldur:
1 |  | 
Additional configuration
For detailed configuration instructions, visit https://docs.waldur.com/latest/admin-guide/mastermind-configuration/general/