Installation Guide¶
🚀 Quick Start (2 Minutes)¶
Step 1: Set Up Virtual Environment (30 seconds)¶
Create virtual environment:
Activate environment:
Verify Python version:
Step 2: Install Dana (30 seconds)¶
Install Dana:
Verify installation:
Step 3: Test Installation (30 seconds)¶
Start Dana REPL:
Or run a quick test:
Step 4: Configure API Keys (30 seconds)¶
Set up API keys:
Or set environment variables:
✅ Installation Complete!¶
You're now ready to build agents with Dana. Try:
- dana
- Start interactive REPL
- dana [file.na]
- Execute Dana files
- dana deploy [file.na]
- Deploy agents
- dana config
- Configure settings
🔧 Troubleshooting¶
macOS/Homebrew Python Issues¶
If you see an 'externally-managed-environment' error:
Virtual Environment Best Practices¶
- Always use a virtual environment for Dana projects
- Python 3.12+ required for optimal performance
- Activate environment before installing or running Dana
Common Issues¶
- Import errors: Ensure virtual environment is activated
- API key errors: Run
dana config
to set up keys - Permission errors: Use
--break-system-packages
flag if needed