Installation#
This guide covers all the ways to install the oxo-flow binary on your system.
Requirements#
- Operating system: Linux (x86_64, aarch64) or macOS (Apple Silicon, Intel)
- Disk space: ~50 MB for the binary
- Optional: Rust toolchain (1.85+) if building from source
Runtime dependencies
oxo-flow itself has no runtime dependencies — it is a single static binary. However, the tools your workflows call (e.g., bwa, samtools, GATK) must be available either on your $PATH or through an environment manager (conda, docker, etc.) declared in your .oxoflow file.
Option 1 — Install with Cargo (recommended)#
If you don't have Rust installed, use the official installer:
Verify the installation:
Updating
Run the same cargo install oxo-flow-cli command to update to the latest version. Cargo will rebuild if a newer version is available.
Option 2 — Build from Source#
Clone the repository and build the workspace:
The binary is at target/release/oxo-flow. Copy it to a directory on your $PATH:
Development build#
For faster compile times during development (without optimizations):
Option 3 — Download Pre-built Binary#
Pre-built binaries are available from the GitHub Releases page.
Optional Dependencies#
Graphviz (for Visualization)#
The oxo-flow graph command outputs workflows in DOT format. To render these graphs as images (PNG, SVG, etc.), you need to install Graphviz.
Shell Completions#
oxo-flow can generate shell completions for Bash, Zsh, Fish, Elvish, and PowerShell:
Verify Installation#
After installation, confirm everything is working:
# Check version
oxo-flow --version
# Show help
oxo-flow --help
# Initialize a test project
oxo-flow init my-test-pipeline
cd my-test-pipeline
oxo-flow validate my-test-pipeline.oxoflow
Expected output:
Next Steps#
- Quick Start — run a workflow in 5 minutes
- Your First Workflow — build a pipeline from scratch