Installation¶
Learn how to install the epycloud CLI tool for managing serverless epidemic modeling pipelines on Google Cloud.
Prerequisites¶
- Operating System: Linux or macOS (Windows via WSL)
- Python: 3.11 or higher (managed by uv)
- Git: For cloning the repository
- Google Cloud Account: For cloud deployments (optional for local development)
Install with uv¶
This method installs epycloud as a globally available command without affecting your system Python.
Step 1: Install uv Package Manager¶
uv is a fast Python package and project manager, written in Rust. We use it to install epycloud as an isolated CLI tool.
Install:
After installation, restart your shell or run:
Step 2: Install epycloud¶
$ git clone https://github.com/mobs-lab/epymodelingsuite-cloud
$ cd epymodelingsuite-cloud
$ uv tool install .
$ epycloud --version
The tool will be installed in ~/.local/bin/epycloud.
Step 3: Update epycloud¶
When pulling new code changes:
Alternative: Development Mode¶
For contributing to epycloud or developing features:
$ git clone https://github.com/mobs-lab/epymodelingsuite-cloud
$ cd epymodelingsuite-cloud
$ uv sync
$ uv run epycloud --help
$ uv run epycloud config show
When to Use Development Mode
- Contributing to the epycloud project
- Testing local code changes before committing
- Debugging CLI functionality
For regular usage, stick with the regular installation.
Verify Installation¶
After installation, verify epycloud is available:
Expected output:
Next Steps¶
- Quick Start: Initialize configuration and run your first workflow
- Configuration Guide: Learn about the configuration system
Troubleshooting¶
Command not found: epycloud¶
If epycloud is not found after installation:
-
Check that
~/.local/binis in yourPATH: -
Add to PATH if missing (add to
~/.bashrcor~/.zshrc): -
Restart your shell or source the config: