Quick Start Guide
Get up and running with the EAC CLI. This tutorial walks you through installation, initialization, and running your first commands.
Prerequisites: Command-line access, internet connection
What You'll Learn
By the end of this tutorial, you'll be able to:
- Install the EAC CLI on your platform (Linux, macOS, or Windows)
- Initialize EAC configuration in a project
- Run basic commands to explore your repository
- Execute tests using the EAC CLI
- Navigate to the next steps in your learning journey
Step 1: Install the CLI
The EAC CLI is distributed as a pre-built binary for Linux, macOS, and Windows.
Linux and macOS
Run the installation script:
curl -fsSL https://raw.githubusercontent.com/ready-to-release/eac/main/scripts/sh/eac/install.sh | bash
The script will:
- Detect your platform (OS and architecture)
- Download the latest EAC release
- Install to
~/.local/bin/eac(or use--systemfor system-wide installation) - Verify the installation
If ~/.local/bin is not in your PATH, add it to your shell profile:
Then restart your terminal or run source ~/.bashrc (or ~/.zshrc).
Windows
Run the installation script in PowerShell:
The script will:
- Download the latest EAC release for Windows
- Install to
%LOCALAPPDATA%\eac(or use-Systemfor Program Files) - Add the installation directory to your PATH
- Verify the installation
You may need to restart your terminal for PATH changes to take effect.
Step 2: Verify Installation
Check that the CLI is installed correctly:
You should see version information displayed.
Step 3: Initialize EAC in Your Project
Navigate to your project directory and initialize EAC:
This command:
- Creates the
.eac/directory structure - Generates
ai-provider.ymlwith AI provider settings - Uses environment variable placeholders for API keys (safe to commit)
- Other configuration files use system defaults automatically (no copying needed)
Available AI providers:
claude-api- Anthropic Claude (requiresANTHROPIC_API_KEY)openai- OpenAI GPT (requiresOPENAI_API_KEY)gemini- Google Gemini (requiresGOOGLE_API_KEY)
To use a personal configuration with actual API tokens (gitignored):
Configuration Files
The init command only creates user-specific files (ai-provider.yml).
Other configuration files like ai-config.yml and templates are automatically loaded from built-in system defaults.
See Understanding Configuration Files to learn more.
Step 4: Set Your API Key
Before running commands that use AI, set your API key as an environment variable:
Linux/macOS:
Windows (PowerShell):
Step 5: Explore Available Commands
List all available commands:
Get help for a specific command:
Command Discovery
EAC provides hundreds of commands organized into categories (show, get, build, test, create, validate, release, pipeline, work, and more). See Discovering Available Commands for a complete guide to finding and using all commands.
Step 6: Initialize Your Repository
Before using other commands, initialize your repository structure:
This command:
- Scans your repository to discover modules
- Generates
.eac/repository.ymlwith module metadata - Creates
.eac/books.ymlwith architecture patterns
Step 7: View Your Project Structure
Show all modules discovered in your repository:
This displays a table of all modules with their type and root path.
Show the project configuration:
Step 8: Run Tests
To run tests for your project:
This runs all modules with the default test suites (L0-L2 fast tests).
To test a specific module:
To run a different test suite:
Available test suites:
unit- L0-L1 tests (fast unit tests, <5 min)integration- L2 tests (Docker-based emulated tests, <15 min)acceptance- L3 tests (production-like tests in PLTE, 1-2 hours)production-verification- L4+PIV tests (production smoke tests)
What You Learned
Congratulations! You've successfully:
- ✅ Installed the EAC CLI on your system
- ✅ Initialized EAC configuration with
eac init - ✅ Configured AI provider settings
- ✅ Set up your API key for AI-powered commands
- ✅ Analyzed your repository to discover modules
- ✅ Explored available commands with
eac help - ✅ Viewed repository structure with
eac show modules - ✅ Ran tests with different test suites
Key Concepts Covered
- EAC CLI installation - Binary distribution for multiple platforms
- EAC initialization - Creating
.eac/with configuration - Configuration layering - System defaults vs. user overrides
- AI provider configuration - Claude, OpenAI, or Gemini integration
- Repository analysis - Discovering modules and architecture patterns
- Repository exploration - Using
showcommands to understand structure - Test suites - Different test levels (unit, integration, acceptance, production-verification)
Next Steps
Continue Learning
- Next tutorial: Understanding Configuration Files - Learn about
.eac/configuration files
Try Common Tasks
Now that you know the basics of EAC, try these common tasks:
- Discover Available Commands Explore all commands organized by category
- Get Help with Commands Find and understand any EAC command
- Explore Your Repository Discover modules, files, and structure
Dive Deeper
- Everything as Code Paradigm - Understand the philosophy
- Command Reference - Complete command documentation
- Creating CLIE Extensions - Build containerized extensions (optional)
Tutorials | How-to Guides | Explanation | Reference
You are here: Tutorials — learning-oriented guides that take you through steps to complete a project.