Version: 1.0.0 Estimated Time: 10-15 minutes
This guide walks you through installing and configuring the AD-SDLC system.
Before installing AD-SDLC, ensure you have:
| Software | Minimum Version | Check Command |
|---|---|---|
| Node.js | 22.22.1+ | node --version |
| npm | 9+ | npm --version |
| Git | 2.30+ | git --version |
| Software | Purpose | Check Command |
|---|---|---|
GitHub CLI (gh) |
Issue/PR management | gh --version |
| Python | SDK development | python3 --version |
You need one of the following:
- Anthropic API Key - Get one from console.anthropic.com
- Claude Subscription (Max/Pro) - Use
claude login - Cloud Provider - AWS Bedrock, Google Vertex AI, or Azure Foundry
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4+ cores |
| RAM | 4GB | 8GB+ |
| Disk | 1GB | 5GB+ |
| Network | Broadband | Stable connection |
- macOS: 12 (Monterey) or later
- Linux: Ubuntu 20.04+, Debian 11+, CentOS 8+, Fedora 36+
- Windows: Windows 10 (with WSL2) or Windows 11
# Using Homebrew (recommended)
brew install node
# Or download from nodejs.org
# https://nodejs.org/en/download/# Using NodeSource repository
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejsDownload and run the installer from nodejs.org.
AD-SDLC is not published to the npm registry yet, so npm install -g ad-sdlc and
npx ad-sdlc do not work. Install it from source:
git clone https://github.com/kcenon/claude_code_agent.git
cd claude_code_agent
npm ci
npm run build
# Put the ad-sdlc command on your PATH (this links to the clone, so keep it in place)
npm install -g .
# Verify installation
ad-sdlc --versionAlternatively, run the built CLI from the clone without a global installation:
node dist/cli.js --helpThe GitHub CLI enables automatic issue creation and PR management.
brew install gh# Ubuntu/Debian
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install ghwinget install --id GitHub.clinpm ci installs the runtime dependencies declared in package.json. AD-SDLC v0.1 standardizes on the official Claude Agent SDK as the only AI runtime dependency. The legacy raw @anthropic-ai/sdk client and the in-tree AgentBridge/AgentDispatcher/AgentRegistry stack were removed in v0.1.0 (#798).
| Package | Version | Role |
|---|---|---|
@anthropic-ai/claude-agent-sdk |
^0.3.301 |
Single Agent SDK entry point used by ExecutionAdapter for every stage |
commander |
^15.0.0 |
ad-sdlc CLI argument parsing |
inquirer |
^14.2.3 |
Interactive prompts for ad-sdlc init |
js-yaml |
^5.5.0 |
Pipeline config and document frontmatter parsing |
zod |
^4.6.7 |
Runtime schema validation for configs, external data, and checkpoint schema |
ts-morph |
^28.0.0 |
TypeScript AST analysis for the Code Reader / Codebase Analyzer agents |
chalk |
^6.0.1 |
CLI output styling |
dotenv |
^18.0.8 |
Environment loading |
Optional integrations (logging backends, OpenTelemetry exporters, better-sqlite3, ioredis, mammoth, pdf-parse) are declared as optional peer dependencies so the runtime install stays lean; consumers pull them in only when the matching scratchpad backend or document parser is enabled.
npm run docs:check compares this table with package.json.
Choose one of the following methods:
# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.)
export ANTHROPIC_API_KEY="sk-ant-api03-..."
# Reload your shell
source ~/.bashrc # or source ~/.zshrc# Login with your Claude Max/Pro subscription
claude login
# Follow the prompts to authenticate# AWS Bedrock
export CLAUDE_CODE_USE_BEDROCK=1
export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export AWS_REGION="us-east-1"
# Google Vertex AI
export CLAUDE_CODE_USE_VERTEX=1
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/credentials.json"
export ANTHROPIC_VERTEX_PROJECT_ID="your-project-id"# Authenticate with GitHub
gh auth login
# Select:
# - GitHub.com
# - HTTPS
# - Login with a web browser (or paste token)
# Verify authentication
gh auth statusStages that talk to GitHub (pr-reviewer, issue-generator, ci-fixer) also need GITHUB_TOKEN. Export a Personal Access Token with repo-level scope; the team-shared .mcp.json interpolates it via ${GITHUB_TOKEN} and never stores literals. See MCP configuration for setup, scopes, and troubleshooting.
# Create a new project
mkdir my-project
cd my-project
# Initialize AD-SDLC with interactive wizard
ad-sdlc init
# Or use quick setup
ad-sdlc init --quickRun these commands to verify your installation:
# Check AD-SDLC CLI
ad-sdlc --version
# Expected: the version from the installed package.json, such as 0.1.0
# Check Node.js
node --version
# Expected: v22.22.1 or higher
# Check API key (should not show full key)
echo $ANTHROPIC_API_KEY | head -c 10
# Expected: sk-ant-api (first 10 characters)
# Check GitHub CLI (optional)
gh auth status
# Expected: Logged in to github.com as <username>
# Validate project configuration
ad-sdlc validate
# Expected: Configuration is validRun a simple test to verify the system works:
# Initialize a test project
ad-sdlc init test-project --quick
cd test-project
# Resolve the pipeline without calling the model (no API key needed)
ad-sdlc run "Build a simple hello world application" --dry-runA live run drops --dry-run and needs ANTHROPIC_API_KEY or a Claude Code
session; the Quickstart walks through it.
Cause: npm global bin directory is not in PATH.
Solution:
# Find npm global directory
npm config get prefix
# Add to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH="$PATH:$(npm config get prefix)/bin"
# Reload shell
source ~/.bashrcCause: API key is not configured.
Solution:
# Set the API key
export ANTHROPIC_API_KEY="sk-ant-api03-..."
# Or use Claude login
claude loginCause: GitHub CLI is not logged in.
Solution:
# Login to GitHub
gh auth login
# Follow the promptsCause: npm requires elevated permissions for global install.
Solution:
# Option 1: Run the built CLI from the clone instead
node /path/to/claude_code_agent/dist/cli.js init
# Option 2: Configure npm to use a different directory
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
# Add to ~/.bashrc or ~/.zshrc
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrcCause: Corporate proxy or firewall.
Solution:
# Set proxy for npm
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
# Set proxy for curl
export http_proxy=http://proxy.company.com:8080
export https_proxy=http://proxy.company.com:8080If you encounter issues not covered here:
- Check the FAQ
- Search existing issues
- Open a new issue
After successful installation:
- Quickstart Guide - 5-minute tutorial
- Use Cases - Common scenarios
- Configuration - Advanced configuration
Part of AD-SDLC Documentation