Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Build from Source

Build argo-rs from source for contributors or unsupported platforms.

Prerequisites

  • Rust 1.70 or later
  • Git

Build Steps

# Clone the repository
git clone https://github.com/stefanodecillis/argo-rs.git
cd argo-rs

# Build release binary (optimized)
cargo build --release

# The binary is at target/release/argo

Install to PATH

Copy the binary to a location in your PATH:

# Create ~/.local/bin if it doesn't exist
mkdir -p ~/.local/bin

# Copy the binary
cp target/release/argo ~/.local/bin/

Ensure ~/.local/bin is in your PATH:

# Add to ~/.bashrc or ~/.zshrc
export PATH="$HOME/.local/bin:$PATH"

Development Build

For development with faster compile times (but slower runtime):

cargo build
cargo run -- --help

Running Tests

cargo test

Code Quality

# Format code
cargo fmt

# Lint
cargo clippy