Installation¶
Requirements¶
- Python 3.8 or higher
- Linux or macOS operating system
- pip or uv package manager
Using uv (Recommended)¶
uv is a fast Python package installer and resolver.
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone repository
git clone https://github.com/gleicon/cook
cd cook
# Create virtual environment and install
uv venv
uv pip install -e ".[all]"
source .venv/bin/activate
Using pip¶
# Clone repository
git clone https://github.com/gleicon/cook
cd cook
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install with all features
pip install -e ".[all]"
Install Options¶
Cook has optional feature sets:
Minimal Installation¶
Core functionality only:
Specific Features¶
Install only what you need:
# Templates support (Jinja2)
pip install -e ".[templates]"
# SSH remote execution
pip install -e ".[ssh]"
# State persistence
pip install -e ".[state]"
# Recording mode
pip install -e ".[record]"
# All features
pip install -e ".[all]"
Development Installation¶
For development and testing:
Verify Installation¶
Expected output:
Platform-Specific Notes¶
Ubuntu/Debian¶
Some features require system packages:
macOS¶
Homebrew Python is recommended: