Installation
Get PipeGen up and running on your system in minutes. Choose the installation method that works best for your environment.
Prerequisites
Required
- Docker & Docker Compose - For local development stack
- Docker 20.10+ recommended
- Docker Compose 2.0+ recommended
Optional
- Go 1.21+ - Only needed if building from source
- Git - For cloning the repository
Quick Install (Recommended)
The fastest way to get started:
curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh | bashThis script:
- ✅ Detects your operating system and architecture
- ✅ Downloads the appropriate binary
- ✅ Installs to
/usr/local/bin/pipegen - ✅ Makes the binary executable
- ✅ Verifies the installation
Manual Quick Install
If you prefer to inspect the script first:
# Download and inspect the install script
curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh -o install.sh
cat install.sh
# Run the installer
bash install.shAlternative Installation Methods
Go Install
If you have Go installed:
go install github.com/mcolomerc/pipegen@latestThis installs the latest version to your $GOPATH/bin directory.
Manual Binary Download
Download from GitHub Releases
Visit the releases page and download the appropriate binary for your platform:
- Linux (AMD64):
pipegen-linux-amd64.tar.gz - Linux (ARM64):
pipegen-linux-arm64.tar.gz - macOS (Intel):
pipegen-darwin-amd64.tar.gz - macOS (Apple Silicon):
pipegen-darwin-arm64.tar.gz - Windows (AMD64):
pipegen-windows-amd64.zip
- Linux (AMD64):
Extract and Install
bash# Example for Linux AMD64 tar -xzf pipegen-linux-amd64.tar.gz sudo mv pipegen /usr/local/bin/ sudo chmod +x /usr/local/bin/pipegenVerify Installation
bashpipegen --version
Build from Source
For the latest development version or custom builds:
# Clone the repository
git clone https://github.com/mcolomerc/pipegen.git
cd pipegen
# Build the binary
go build -o pipegen ./cmd/main.go
# Install to system PATH
sudo mv pipegen /usr/local/bin/Docker Installation
Run PipeGen in a container:
# Pull the Docker image
docker pull mcolomerc/pipegen:latest
# Create an alias for convenience
echo 'alias pipegen="docker run --rm -v \$(pwd):/workspace -w /workspace --net host mcolomerc/pipegen:latest"' >> ~/.bashrc
source ~/.bashrc
# Verify installation
pipegen --versionPlatform-Specific Instructions
macOS
Using Homebrew (if available):
# Add the tap (if configured)
brew tap mcolomerc/pipegen
brew install pipegenManual Installation:
# Download and install
curl -L -o pipegen-darwin-arm64.tar.gz \
https://github.com/mcolomerc/pipegen/releases/latest/download/pipegen-darwin-arm64.tar.gz
tar -xzf pipegen-darwin-arm64.tar.gz
sudo mv pipegen /usr/local/bin/Linux
Ubuntu/Debian:
# Quick install
curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh | bash
# Or manual install
wget https://github.com/mcolomerc/pipegen/releases/latest/download/pipegen-linux-amd64.tar.gz
tar -xzf pipegen-linux-amd64.tar.gz
sudo mv pipegen /usr/local/bin/CentOS/RHEL/Fedora:
# Quick install
curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh | bash
# Or using dnf/yum (if configured)
sudo dnf install pipegen # Fedora
sudo yum install pipegen # CentOS/RHELArch Linux:
# Using AUR (if available)
yay -S pipegen
# Or manual install
curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh | bashWindows
PowerShell Installation:
# Download the latest release
Invoke-WebRequest -Uri "https://github.com/mcolomerc/pipegen/releases/latest/download/pipegen-windows-amd64.zip" -OutFile "pipegen.zip"
# Extract and install
Expand-Archive -Path "pipegen.zip" -DestinationPath "C:\Program Files\pipegen\"
# Add to PATH (run as Administrator)
$env:Path += ";C:\Program Files\pipegen"
[Environment]::SetEnvironmentVariable("Path", $env:Path, [EnvironmentVariableTarget]::Machine)Using Chocolatey (if available):
choco install pipegenWindows Subsystem for Linux (WSL):
# Use the Linux installation method within WSL
curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh | bashPost-Installation Setup
Verify Installation
# Check version
pipegen --version
# Show help
pipegen --help
# Check AI provider setup
pipegen checkExpected Output:
PipeGen v1.0.0
Build: a4c8079 (2025-08-26)
Go version: go1.21.0Docker Setup
Ensure Docker is running and accessible:
# Check Docker installation
docker --version
docker-compose --version
# Test Docker access (should not require sudo)
docker ps
# If you get permission errors on Linux:
sudo usermod -aG docker $USER
# Log out and log back inConfiguration
Create a global configuration file:
# Create config directory
mkdir -p ~/.config/pipegen
# Create basic configuration
cat > ~/.pipegen.yaml << EOF
# PipeGen Global Configuration
bootstrap_servers: "localhost:9093"
flink_url: "http://localhost:8081"
schema_registry_url: "http://localhost:8082"
local_mode: true
# Default pipeline settings
default_message_rate: 100
default_duration: "5m"
topic_prefix: "pipegen"
cleanup_on_exit: true
EOFAI Provider Setup (Optional)
For Ollama (Local AI):
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
# Download a model
ollama pull llama3.1
# Configure PipeGen
echo 'export PIPEGEN_OLLAMA_MODEL="llama3.1"' >> ~/.bashrc
echo 'export PIPEGEN_OLLAMA_URL="http://localhost:11434"' >> ~/.bashrc
source ~/.bashrcFor OpenAI:
# Set up API key
echo 'export PIPEGEN_OPENAI_API_KEY="your-api-key"' >> ~/.bashrc
echo 'export PIPEGEN_LLM_MODEL="gpt-4"' >> ~/.bashrc
source ~/.bashrcTroubleshooting
Common Installation Issues
Permission denied errors:
# Linux/macOS - use sudo for system installation
sudo mv pipegen /usr/local/bin/
sudo chmod +x /usr/local/bin/pipegen
# Or install to user directory
mkdir -p ~/bin
mv pipegen ~/bin/
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcBinary not found after installation:
# Check if installation directory is in PATH
echo $PATH
# Add to PATH if needed
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcDocker permission issues (Linux):
# Add user to docker group
sudo usermod -aG docker $USER
# Apply group membership (logout/login required)
newgrp docker
# Test Docker access
docker psGo installation issues:
# Check Go version
go version
# If Go is too old, update:
# Visit https://golang.org/dl/ and install latest versionVerification Tests
Run these commands to ensure everything is working:
# Test basic functionality
pipegen --help
# Test Docker integration
pipegen deploy --dry-run
# Test AI integration (if configured)
pipegen check
# Create a test project
pipegen init test-installation
cd test-installation
pipegen validatePlatform-Specific Issues
macOS Security (Gatekeeper):
# If you get "cannot be opened because it is from an unidentified developer"
sudo spctl --master-disable
# Or right-click the binary and select "Open"Windows Antivirus:
- Some antivirus software may flag the binary as suspicious
- Add
pipegen.exeto your antivirus whitelist - Download from official GitHub releases only
Linux SELinux:
# If SELinux blocks execution
sudo semanage fcontext -a -t bin_t "/usr/local/bin/pipegen"
sudo restorecon -v /usr/local/bin/pipegenUpdates
Automatic Updates
PipeGen will notify you of new versions:
🆕 A new version of PipeGen is available!
Current: v1.0.0
Latest: v1.1.0
Run: curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh | bashManual Updates
# Re-run the installation script
curl -sSL https://raw.githubusercontent.com/mcolomerc/pipegen/main/install.sh | bash
# Or download the latest release manually
# Follow the same installation steps with the new binaryCheck for Updates
# Check current version
pipegen --version
# Check latest release
curl -s https://api.github.com/repos/mcolomerc/pipegen/releases/latest | jq -r .tag_nameUninstallation
To remove PipeGen from your system:
# Remove binary
sudo rm /usr/local/bin/pipegen
# Remove configuration (optional)
rm -rf ~/.pipegen.yaml ~/.config/pipegen
# Remove environment variables
# Edit ~/.bashrc and remove PIPEGEN_* exportsNext Steps
Now that PipeGen is installed:
- Getting Started - Create your first pipeline
- Commands - Learn available commands
- Examples - See PipeGen in action
- Configuration - Customize your setup
Need help? Check our troubleshooting guide or open an issue.
