Prerequisites
PDD requires Python 3.12 or higher. Check your version before installing:- macOS
- Linux
- Windows
Install PDD
Recommended: uv
uv provides faster installs, automatic environment setup, and better isolation than pip.- macOS / Linux
- Windows (PowerShell)
uv tool install ensures:
- Faster installs with optimized dependency resolution
- Automatic environment setup without manual configuration
- Proper handling of the
PDD_PATHenvironment variable - Better isolation from other Python packages
Alternative: pip
Virtual environment
If you prefer to keep PDD isolated in a virtual environment:Verify installation
~/.bashrc or ~/.zshrc to make it permanent.
Post-install setup
Run the interactive setup wizard immediately after installation:- Detects agentic CLI tools (Claude Code, Gemini CLI, Codex CLI) and offers installation and API key configuration
- Scans for API keys across
.env,~/.pdd/api-env.*, and your shell environment — prompts you to add one if none are found - Configures models from a reference list of top-rated models across all LiteLLM-supported providers based on your available keys
- Optionally creates a
.pddrcproject config - Tests the first available model with a real LLM call
- Prints a structured summary of CLIs, keys, models, and the test result
pdd setup at any time to update keys, add providers, or reconfigure settings. If you skip setup, the first regular pdd command you run will detect the missing configuration and print a reminder banner.
Auto-update control
PDD automatically updates itself to keep you on the latest version. Control this with thePDD_AUTO_UPDATE environment variable:
.bashrc, .zshrc) for a persistent setting. Disabling auto-updates is useful in CI/CD pipelines and production environments where version stability is required.
Shell completion
PDD includes shell completion support, configured automatically bypdd setup. Completion enables tab-completion for commands and flags in your terminal.
Next steps
Quickstart
Run your first prompt-to-code workflow in minutes
Command reference
Browse every command, flag, and option