Skip to content

Installation Guide

Aegis Stack can be used in multiple ways depending on your needs and preferences.

Installation

Choose the method that works best for your workflow:

The fastest way to use Aegis Stack without any installation:

# Create a new project
uvx aegis-stack init my-project

# Get help
uvx aegis-stack --help

# Create with specific components
uvx aegis-stack init my-api --components worker,scheduler

Benefits:

  • โœจ No installation required
  • ๐Ÿ“ฆ Always uses latest version
  • โšก Zero setup, works immediately
  • ๐Ÿ”’ Isolated execution environment
  • ๐Ÿš€ Perfect for trying Aegis Stack or one-off usage

Best for: Quick start, experimentation, CI/CD, one-off usage

Install Aegis Stack as a global CLI tool with uv:

# Install globally
uv tool install aegis-stack

# Use the installed version
aegis init my-project
aegis --help
aegis components

Benefits:

  • ๐Ÿƒ Fastest subsequent runs (pre-installed)
  • ๐ŸŽฏ Simple aegis command
  • ๐Ÿ”„ Easy to upgrade with uv tool upgrade aegis-stack
  • ๐Ÿ’พ Persistent installation

Best for: Daily development work, regular CLI usage

Install Aegis Stack globally with pip:

# Install from PyPI
pip install aegis-stack

# Use the installed version
aegis init my-project
aegis --help
aegis components

Benefits:

  • ๐Ÿ”„ Works in any Python environment
  • ๐Ÿ“š Familiar to all Python developers
  • ๐Ÿ› ๏ธ Compatible with existing workflows

Best for: Traditional workflows, existing pip-based setups

For contributing, customizing, or working with the latest development version:

# Clone the repository
git clone https://github.com/lbedner/aegis-stack
cd aegis-stack

# Install with all development dependencies
uv sync --all-extras

# Use development version
.venv/bin/aegis init my-project

# Run tests
.venv/bin/pytest

# Build documentation
.venv/bin/mkdocs serve

Benefits:

  • ๐Ÿงช Latest unreleased features
  • ๐Ÿ”ง Full development environment
  • โœ๏ธ Ability to modify and test changes
  • ๐Ÿงฐ Access to development tools

Best for: Contributing, customizing, latest features

Command Examples

All commands work the same regardless of installation method:

# Initialize new projects
uvx aegis-stack init my-web-app
uvx aegis-stack init my-api --components worker
uvx aegis-stack init full-stack --components scheduler,database

# Project information
uvx aegis-stack components
uvx aegis-stack --help
# Initialize new projects  
aegis init my-web-app
aegis init my-api --components worker
aegis init full-stack --components scheduler,database

# Project information
aegis components
aegis --help
# Initialize new projects
aegis init my-web-app
aegis init my-api --components worker  
aegis init full-stack --components scheduler,database

# Project information
aegis components
aegis --help
# Initialize new projects
.venv/bin/aegis init my-web-app
.venv/bin/aegis init my-api --components worker
.venv/bin/aegis init full-stack --components scheduler,database

# Development commands
.venv/bin/aegis --help
make test
make lint