Installation Guide
MIU offers flexible installation options depending on your use case.System Requirements
- Python: 3.11 or higher
- Operating Systems: macOS, Linux, Windows (via WSL)
- Package Manager: pip, uv, or pipx
Quick Install Scripts
- Unix/macOS
- Windows
Package Installation
Using uv (Recommended)
uv is a fast Python package manager:Using pip
Available Packages
| Package | PyPI Command | Description |
|---|---|---|
| miu-core | pip install miu-core | Core framework library |
| miu-code | pip install miu-code | AI coding agent with CLI/TUI |
| miu-examples | pip install miu-examples | Example applications |
| miu-studio | pip install miu-studio | Web server and UI |
| miu-mono | pip install miu-mono | Meta-package (all-in-one) |
Provider-Specific Extras
Install only the LLM providers you need:Development Installation
For contributing or development:Environment Variables
Configure your API keys:Verifying Installation
Troubleshooting
Command not found
Command not found
Ensure the installation directory is in your PATH. For uv tool installs, run
uv tool update-shell.API key errors
API key errors
Verify your API key is set correctly with
echo $ANTHROPIC_API_KEY (or your chosen provider).Python version mismatch
Python version mismatch
MIU requires Python 3.11+. Check with
python --version.